diff makeitso/cli.py @ 120:9c70669854f4

fix an error on CLI finding Undefined variables
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 25 Jan 2011 16:18:10 -0800
parents 37f92ae8f999
children d28cde6c942e
line wrap: on
line diff
--- a/makeitso/cli.py	Sat Jan 22 12:27:43 2011 -0800
+++ b/makeitso/cli.py	Tue Jan 25 16:18:10 2011 -0800
@@ -35,7 +35,7 @@
     """
     return dict([(key, value)
                  for key, value in options.__dict__.items()
-                 if not key.startswith('_')])
+                 if not key.startswith('_') and value is not Undefined])
 
   def parse(self, args=None, parser=None, options=None):