aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xgit-dch3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-dch b/git-dch
index d2dda69e..91ca152e 100755
--- a/git-dch
+++ b/git-dch
@@ -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)