]> thyrsus.com Git - freecode-submit.git/commitdiff
Allow use of the Version key for URL substition without forcing a release...
authorEric S. Raymond <esr@thyrsus.com>
Fri, 15 Oct 2010 08:45:30 +0000 (04:45 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 15 Oct 2010 08:45:30 +0000 (04:45 -0400)
...unless there is other release-specific metadata.

freshmeat-submit

index 34f36f49145c8c811cbf7160c84d028e6ac6e281..bf53177c6aba3dcfa5fed97ba324f7d65fe95d7b 100755 (executable)
@@ -327,7 +327,7 @@ if __name__ == "__main__":
         session = FreshmeatSession(verbose=int(verbose), emit_enable=not dryrun)
         session.on_project(update.name)
         # OK, now actually add or delete the release.
-        if update.per_release:
+        if update.per_release and update.per_release.keys() != ("version",):
             if delete:
                 session.withdraw_release(update['version'])
             else: