]> thyrsus.com Git - freecode-submit.git/commitdiff
That's a gpood next step.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 7 Dec 2003 05:58:56 +0000 (05:58 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 7 Dec 2003 05:58:56 +0000 (05:58 +0000)
freshmeat-submit

index 90a193a6e64596a51378e0c7b9162e07480f8973..d3df813e4c041025fe447280e0d7f94e6ff68839 100755 (executable)
@@ -54,10 +54,11 @@ class FreshmeatSession:
         "Set the current project."
         if self.debug:
             print "About to look up project"
-        self.pid = self.session.lookup_project_id({'SID':self.sid,'projectname_short':name})
+        response = self.session.lookup_project_id({'SID':self.sid,'projectname_short':name})
+        self.pid = response['project_id']
         if self.debug:
             print "Project ID is:", self.pid
-        self.branch_list = self.session.fetch_branch_list(self.sid, self.pid)
+        self.branch_list = self.session.fetch_branch_list({'SID':self.sid,'project_id':self.pid})
         if self.debug:
             print "Project branch list is:", self.branch_list