diff makeitso/cli.py @ 121:d28cde6c942e

do not use undefined defaults
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 19 Jan 2011 18:18:47 -0800
parents 9c70669854f4
children b2152efec89a
line wrap: on
line diff
--- a/makeitso/cli.py	Tue Jan 25 16:18:10 2011 -0800
+++ b/makeitso/cli.py	Wed Jan 19 18:18:47 2011 -0800
@@ -35,7 +35,7 @@
     """
     return dict([(key, value)
                  for key, value in options.__dict__.items()
-                 if not key.startswith('_') and value is not Undefined])
+                 if (not key.startswith('_')) and (value is not Undefined)])
 
   def parse(self, args=None, parser=None, options=None):