[Yum-devel] [PATCH 1/7] fix pylint issues (Bad indentation) ************* Module output W0311:2186: Bad indentation. Found 20 spaces, expected 16 ************* Module yumcommands W0311:901: Bad indentation. Found 11 spaces, expected 12 ************* Module yum.rpmsack W0311:1008: Bad indentation. Found 13 spaces, expected 12
Tim Lauridsen
tim.lauridsen at gmail.com
Tue Nov 29 13:06:18 UTC 2011
---
output.py | 4 ++--
yum/rpmsack.py | 2 +-
yumcommands.py | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/output.py b/output.py
index be4e4d9..bc115ca 100755
--- a/output.py
+++ b/output.py
@@ -2183,8 +2183,8 @@ to exit.
default_addons = set(['config-main', 'config-repos', 'saved_tx'])
non_default = set(addon_info).difference(default_addons)
if len(non_default) > 0:
- print _("Additional non-default information stored: %d"
- % len(non_default))
+ print _("Additional non-default information stored: %d"
+ % len(non_default))
if old.trans_with:
# This is _possible_, but not common
diff --git a/yum/rpmsack.py b/yum/rpmsack.py
index 635f03f..424b821 100644
--- a/yum/rpmsack.py
+++ b/yum/rpmsack.py
@@ -1005,7 +1005,7 @@ class RPMDBPackageSack(PackageSackBase):
return
if not load_packages:
- return checksum_data
+ return checksum_data
for pkgtup in checksum_data:
if checksum_data[pkgtup] is None:
diff --git a/yumcommands.py b/yumcommands.py
index 172c40d..2ff9562 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -898,7 +898,7 @@ class GroupsCommand(YumCommand):
cmd, extcmds = self._grp_cmd(basecmd, extcmds)
if cmd in ('remove',):
- return True
+ return True
return False
class MakeCacheCommand(YumCommand):
--
1.7.1
More information about the Yum-devel
mailing list