[copr] master: W0612:121, 8:listcoprs: Unused variable 'max_width' (1e2d203)

msuchy at fedoraproject.org msuchy at fedoraproject.org
Mon Jun 17 12:52:42 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 1e2d2030e25bafe8ed32c512d36cc1e75f374820
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Fri Jun 14 14:36:31 2013 +0200

    W0612:121,8:listcoprs: Unused variable 'max_width'


>---------------------------------------------------------------

 copr_cli/subcommands.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/copr_cli/subcommands.py b/copr_cli/subcommands.py
index dc76dfb..093d124 100644
--- a/copr_cli/subcommands.py
+++ b/copr_cli/subcommands.py
@@ -118,7 +118,6 @@ def listcoprs(username=None):
             print "|".join(_list_to_row(row, widths))
 
     else:
-        max_width = len(values[0])
         headers = columns[0]
         print headers
         print "-"*len(headers)



More information about the copr-devel mailing list