diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-08-18 17:54:26 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-08-18 17:54:26 +0200 |
commit | cc557e7dddeffa0d844a1f1be1f00feebec92ac6 (patch) | |
tree | 2d991f7bf80a9f3e388f3bd31514c6eab4e25a33 | |
parent | c0dad1aefccc9f68a316072e419795342e8f7358 (diff) |
Check for greater not unequal when looking for a new upstream version
-rwxr-xr-x | git-dch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ def add_changelog_section(msg, distribution, repo, options, cp, if options.verbose: print "Found %s." % upstream new_version = "%s-1" % upstream - if compare_versions(upstream, cp['Version']): + if compare_versions(upstream, cp['Version']) > 0: version['version'] = new_version except GitRepository: if options.verbose: |