# HG changeset patch # User Richard Laager # Date 1147472726 0 # Node ID 95166d0d60377283256674c73768ec0cc07537ae # Parent 463259ea22ff566e86993e26b71182bc837b58b0 [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 diff -r 463259ea22ff -r 95166d0d6037 src/gaim-remote --- 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 +