# HG changeset patch # User Jeff Hammel # Date 1273257340 25200 # Node ID 3b53d584195feacbc6d076e966a12b91bc74f278 # Parent f3812255ce6ee820a5d12e1b900f8fbda63c7d7a dont print None diff -r f3812255ce6e -r 3b53d584195f profilemanager/command.py --- a/profilemanager/command.py Fri May 07 11:27:32 2010 -0700 +++ b/profilemanager/command.py Fri May 07 11:35:40 2010 -0700 @@ -164,7 +164,9 @@ retval = getattr(_object, name)(*command_args, **command_options.__dict__) # print the output - if isinstance(retval, basestring): + if retval is None: + pass + elif isinstance(retval, basestring): print retval elif isinstance(retval, dict): for key in sorted(retval.keys()):