Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
commit fabe59740d83260414a9f2a9b236a15bb05c2be4 Author: Pierre-Yves Chibon pingou@pingoured.fr Date: Mon Feb 4 11:47:08 2013 +0100
pep8 run on the subcommand.py file
copr_cli/subcommands.py | 6 +++--- 1 files 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'
copr-devel@lists.fedorahosted.org