[PATCH 1/2] pep8 run on the subcommand.py file

Pierre-Yves Chibon pingou at pingoured.fr
Sun Feb 3 13:06:07 UTC 2013


---
 copr_cli/subcommands.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/copr_cli/subcommands.py b/copr_cli/subcommands.py
index b91ce0c..ce267a2 100644
--- a/copr_cli/subcommands.py
+++ b/copr_cli/subcommands.py
@@ -19,7 +19,7 @@ def set_user():
     """ Retrieve the user information from the config file. """
     config = ConfigParser.ConfigParser()
     config.read(os.path.join(os.path.expanduser('~'), '.config',
-        'copr'))
+                'copr'))
     username = config.get('copr-cli', 'username', None)
     token = config.get('copr-cli', 'token', None)
     return {'username': username, 'token': token}
@@ -53,7 +53,7 @@ class List(cliff.lister.Lister):
             else:
                 columns = ['output']
                 values = ['No copr retrieved for user: "{0}"'.format(
-                            user['username'])]
+                    user['username'])]
                 return (columns, [values])
         else:
             columns = ['output']
@@ -97,7 +97,7 @@ class AddCopr(Command):
                 'initial_pkgs': initial_pkgs,
                 'description': args.description,
                 'instructions': args.instructions
-        }
+                }
         for chroot in args.chroots:
             data[chroot] = 'y'
 
-- 
1.8.1



More information about the copr-devel mailing list