From 830abd5e60a20e8c21b43f8ab70cf7cec0b30f52 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 7 Dec 2003 05:58:56 +0000 Subject: [PATCH] That's a gpood next step. --- freshmeat-submit | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freshmeat-submit b/freshmeat-submit index 90a193a..d3df813 100755 --- a/freshmeat-submit +++ b/freshmeat-submit @@ -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 -- 2.43.0