]> thyrsus.com Git - freecode-submit.git/commitdiff
Query mode can now fetch an URL list (but only the redirectors).
authorEric S. Raymond <esr@thyrsus.com>
Wed, 20 Oct 2010 11:52:04 +0000 (07:52 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 20 Oct 2010 11:52:04 +0000 (07:52 -0400)
freshmeat-submit

index 5a35d945379e1b06d24011e0014bcfc976491588..91c8d531f7adb942b8ae47d5e6d914f8314422ae 100755 (executable)
@@ -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: