diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-08-31 11:23:36 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-08-31 11:23:36 +0200 |
commit | 65bf13561b2c9b5c68327ffa88b53ad8cb575b99 (patch) | |
tree | 8515e11b7d0383052da110f9feb6e032a55ec893 | |
parent | b1bd41757d54b8766368580d352e7aecb5d3a409 (diff) |
Fix exception name
so we don't fail on repos without tags.
-rwxr-xr-x | git-dch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ def add_changelog_section(msg, distribution, repo, options, cp, new_version = "%s-1" % upstream if compare_versions(upstream, cp['Version']) > 0: version['version'] = new_version - except GitRepository: + except GitRepositoryError: if options.verbose: print "No tag found matching pattern %s." % pattern spawn_dch(msg=msg, newversion=True, version=version, author=author, email=email, |