From: Eric S. Raymond Date: Wed, 20 Oct 2010 11:52:04 +0000 (-0400) Subject: Query mode can now fetch an URL list (but only the redirectors). X-Git-Tag: 2.1~10 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=c198351c2f794d3feb0d91ee174f1155ec7da9f4;p=freecode-submit.git Query mode can now fetch an URL list (but only the redirectors). --- diff --git a/freshmeat-submit b/freshmeat-submit index 5a35d94..91c8d53 100755 --- a/freshmeat-submit +++ b/freshmeat-submit @@ -316,6 +316,8 @@ if __name__ == "__main__": print "Description: %s" % session.project_data["description"].replace("\n", "\n ").rstrip() print "License-List: %s" % ",".join(session.project_data["license_list"]) print "Project-Tag-List: %s" % ",".join(session.project_data["tag_list"]) + for assoc in session.project_data['approved_urls']: + print "%s-URL: %s" % (assoc["label"].replace(" ","-"), assoc["redirector"]) else: # OK, now actually add or delete the release. if update.per_project: