Remove usage of single-character variables
authorAlexander Solovyov <piranha@piranha.org.ua>
Mon, 01 Jun 2009 18:14:01 +0300
changeset 4 0a8204aeaa4b
parent 3 5ffb3f9e84e0
child 5 652a1ffd8dec
Remove usage of single-character variables
fancyopts.py
--- a/fancyopts.py	Mon Jun 01 18:11:00 2009 +0300
+++ b/fancyopts.py	Mon Jun 01 18:14:01 2009 +0300
@@ -54,7 +54,7 @@
                                   name and ' --%s' % name),
                        '%s%s' % (desc, default)))
 
-    opts_len = max([len(f) for f, s in output if s] or [0])
+    opts_len = max([len(first) for first, second in output if second] or [0])
     for first, second in output:
         if second:
             # wrap description at 70 chars