Revision: 16184
Author: rlaager
Date: 2006-05-12 15:25:26 -0700 (Fri, 12 May 2006)
ViewCVS: http://svn.sourceforge.net/gaim/?rev=16184&view=rev
Log Message:
-----------
Remove some print statements that were probably intended for debugging.
Suppress printing "None" when there should be no output.
Modified Paths:
--------------
trunk/src/gaim-remote
Modified: trunk/src/gaim-remote
===================================================================
--- trunk/src/gaim-remote 2006-05-12 22:08:34 UTC (rev 16183)
+++ trunk/src/gaim-remote 2006-05-12 22:25:26 UTC (rev 16184)
@@ -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
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|