aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/deb/changelog.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/deb/changelog.py')
-rw-r--r--gbp/deb/changelog.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gbp/deb/changelog.py b/gbp/deb/changelog.py
index 356f74d7..b3c56efe 100644
--- a/gbp/deb/changelog.py
+++ b/gbp/deb/changelog.py
@@ -245,8 +245,10 @@ class ChangeLog(object):
args.extend(["--release", "--no-force-save-on-release"])
msg = None
- if author and email:
- env = {'DEBFULLNAME': author, 'DEBEMAIL': email}
+ if author:
+ env['DEBFULLNAME'] = author
+ if email:
+ env['DEBEMAIL'] = email
if distribution:
args.append("--distribution=%s" % distribution)