Mercurial > mozilla > hg > ProfileManager
changeset 55:3b53d584195f
dont print None
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 07 May 2010 11:35:40 -0700 |
parents | f3812255ce6e |
children | 2dde7dcc899e |
files | profilemanager/command.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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()):