Mercurial > hg > MakeItSo
changeset 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 | c8d3b2edf242 |
children | d28cde6c942e |
files | makeitso/cli.py setup.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
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):