Mercurial > pidgin
changeset 13772:95166d0d6037
[gaim-migrate @ 16184]
Remove some print statements that were probably intended for debugging.
Suppress printing "None" when there should be no output.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 12 May 2006 22:25:26 +0000 |
parents | 463259ea22ff |
children | 3ac2d64a74a0 |
files | src/gaim-remote |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gaim-remote Fri May 12 22:08:34 2006 +0000 +++ b/src/gaim-remote Fri May 12 22:25:26 2006 +0000 @@ -54,7 +54,6 @@ except: # try to get any account and connect it account = cgaim.GaimAccountsFindAny(accountname, protocolname) - print gaim.GaimAccountGetUsername(account) gaim.GaimAccountSetStatusVargs(account, "online", 1) gaim.GaimAccountConnect(account) return account @@ -68,7 +67,7 @@ if protocol is not None: protocol = "prpl-" + protocol command = match.group(5) - paramstring = match.group(7) + paramstring = match.group(7) params = {} if paramstring is not None: for param in paramstring.split("&"): @@ -78,7 +77,6 @@ accountname = params.get("account", "") if command == "goim": - print params account = findaccount(accountname, protocol) conversation = cgaim.GaimConversationNew(1, account, params["screenname"]) if "message" in params: @@ -207,6 +205,8 @@ """ % sys.argv[0] for arg in sys.argv[1:]: - print execute(arg) - - + output = execute(arg) + + if (output != None): + print output +