]> thyrsus.com Git - freecode-submit.git/commitdiff
This version can enable debugging.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 7 Dec 2003 04:53:40 +0000 (04:53 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 7 Dec 2003 04:53:40 +0000 (04:53 +0000)
freshmeat-submit

index 7bf777405b1f957b0f9ae18e75fd64b4d8e70337..ec81379ad9bd49882b9cc1663218fcf335df6a2d 100755 (executable)
@@ -41,13 +41,13 @@ class FreshmeatSession:
             login, account, password = ret
         # Open xml-rpc connection to Freshmeat
         self.session = xmlrpclib.Server(FreshmeatSession.freshmeat_xmlrpc,
-                                     verbose=verbose)
+                                     verbose=1)
         # Log in to Freshmeat
         response = self.session.login( \
             {"username":login, "password":password})
         self.sid = response['SID']
         self.lifetime = response['Validity']
-        if verbose:
+        if self.verbose:
             print "Session ID = %s, lifetime = %s" % (self.sid, self.lifetime)
 
     def set_project(self, name):