[PATCH 3/3] cli: Fix pep8 violations

Till Maas opensource at till.name
Sun Jul 6 14:40:16 UTC 2014


---
 src/fedpkg/cli.py | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/fedpkg/cli.py b/src/fedpkg/cli.py
index 0f64ca1..91fd34d 100644
--- a/src/fedpkg/cli.py
+++ b/src/fedpkg/cli.py
@@ -49,12 +49,11 @@ class fedpkgClient(cliClient):
         retire_parser.set_defaults(command=self.retire)
 
     def register_update(self):
-        update_parser = self.subparsers.add_parser('update',
-                                          help='Submit last build as an '
-                                          'update',
-                                          description='This will create a \
-                                          bodhi update request for the \
-                                          current package n-v-r.')
+        update_parser = self.subparsers.add_parser(
+            'update',
+            help='Submit last build as an update',
+            description='This will create a bodhi update request for the '
+                        'current package n-v-r.')
         update_parser.set_defaults(command=self.update)
 
     # Target functions go here
@@ -142,8 +141,8 @@ suggest_reboot=False
             bodhi_args['bugs'] = ','.join(bugs)
 
         # Use clog as default message
-        bodhi_args['descr'], bodhi_args['changelog']= \
-           self._format_update_clog(clog)
+        bodhi_args['descr'], bodhi_args['changelog'] = \
+            self._format_update_clog(clog)
 
         template = textwrap.dedent(template) % bodhi_args
 
-- 
1.8.3.1



More information about the buildsys mailing list