Closed GoogleCodeExporter closed 9 years ago
flagInfo['args'] actually often IS a class, so doing type(flagInfo.get('args'))
isn't the right solution... actually, think we were getting too fancy for our
own good, and just changed the code to
if (flagInfo and flagInfo.get('args') == bool)
and flagInfo.get('numArgs') == 0):
In any case, thanks for the report!
fixed in 02887ab1c79c7d4033c46ab4e4d848694af76470
test added in 2e2860bb47901a4b7e28ea6cab67ed33bcf935a9
Original comment by elron...@gmail.com
on 12 Oct 2011 at 8:02
Original issue reported on code.google.com by
squis...@gmail.com
on 5 Oct 2011 at 11:55