Better formatting (PEP 8)
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 27 Nov 2012 18:03:37 +0000 (19:03 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 27 Nov 2012 18:03:37 +0000 (19:03 +0100)
youtube_dl/__init__.py

index 75ae7e83872e817de2efa962d5f0d06b769b63af..4fed20d54b26bf0de666ca09873fa2cc28093992 100644 (file)
@@ -127,9 +127,12 @@ def parseOpts():
 
                opts = []
 
-               if option._short_opts: opts.append(option._short_opts[0])
-               if option._long_opts: opts.append(option._long_opts[0])
-               if len(opts) > 1: opts.insert(1, ', ')
+               if option._short_opts:
+                       opts.append(option._short_opts[0])
+               if option._long_opts:
+                       opts.append(option._long_opts[0])
+               if len(opts) > 1:
+                       opts.insert(1, ', ')
 
                if option.takes_value(): opts.append(' %s' % option.metavar)