diff options
author | Guido Guenther <agx@sigxcpu.org> | 2007-10-03 14:15:05 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2007-10-03 14:15:05 +0200 |
commit | b74b65dca23922dc739284b1dbc28f4d8335a115 (patch) | |
tree | 235bd7d5215124238c1fe637054a8dfac6b48479 | |
parent | 6524b25c61b7ce3bf375e5951bbe4bc2d8777333 (diff) |
fix error case
-rwxr-xr-x | git-dch | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -53,7 +53,8 @@ def add_changelog_entry(msg, author): def add_changelog_section(msg, distribution): - ret = os.system("dch --distribution=%s -i %s" % (distribution, msg)) + cmd = "dch --distribution=%s -i %s" % (distribution, msg) + ret = os.system(cmd) if ret: raise GbpError, "Error executing %s: %d" % (cmd, ret) |