[Kimchi-devel] [PATCH] pep8 cleanup for distroloader.py

Aline Manera alinefm at linux.vnet.ibm.com
Fri Dec 27 19:48:48 UTC 2013


From: Aline Manera <alinefm at br.ibm.com>

This patch cleans up pep8 style issue in distroloader.py

Signed-off-by: Aline Manera <alinefm at br.ibm.com>
---
 Makefile.am                |    1 +
 src/kimchi/distroloader.py |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0fd92c8..5460240 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,7 @@ PEP8_WHITELIST = \
 	src/kimchi/cachebust.py \
 	src/kimchi/config.py.in \
 	src/kimchi/disks.py \
+	src/kimchi/distroloader.py \
 	src/kimchi/root.py \
 	src/kimchi/server.py \
 	plugins/__init__.py \
diff --git a/src/kimchi/distroloader.py b/src/kimchi/distroloader.py
index 6310644..98fd764 100644
--- a/src/kimchi/distroloader.py
+++ b/src/kimchi/distroloader.py
@@ -18,7 +18,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public
 # License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
 import glob
@@ -46,7 +46,7 @@ class DistroLoader(object):
                 data = json.load(f)
             return data
         except ValueError:
-            msg = "DistroLoader: failed to parse json from distro file: %s" % fname
+            msg = "DistroLoader: failed to parse distro file: %s" % fname
             kimchi_log.error(msg)
             raise OperationFailed(msg)
 
-- 
1.7.10.4




More information about the Kimchi-devel mailing list