chiark / gitweb /
make twit less chatty to stdout
authorMatthew Vernon <matthewv@chiark.greenend.org.uk>
Mon, 17 Jun 2013 16:06:19 +0000 (17:06 +0100)
committerMatthew Vernon <matthewv@chiark.greenend.org.uk>
Mon, 17 Jun 2013 16:06:19 +0000 (17:06 +0100)
commands.py

index 140d7c5faf27ee866728a123dfb3a34f5166f1c5..640c694638774d192eddbf350eb686339e887e88 100755 (executable)
@@ -506,7 +506,7 @@ def getTweet(urlstring,twitapi):
   tweetID = parts[-1]
   try:
     status = twitapi.GetStatus(tweetID)
   tweetID = parts[-1]
   try:
     status = twitapi.GetStatus(tweetID)
-    print status, type(status), status=={}
+    #print status, type(status), status=={}
     if status == {}:
         return "twitapi.GetStatus returned nothing :-("
     if status.user == None and status.text == None:
     if status == {}:
         return "twitapi.GetStatus returned nothing :-("
     if status.user == None and status.text == None: