aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/deb
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-08-06 18:11:50 -0300
committerGuido Günther <agx@sigxcpu.org>2017-08-06 18:11:50 -0300
commitf09442516bf1d5cbabccea5a4cca7373af2cd7c1 (patch)
tree9f7e4409e45052501d3845f742239a7b860fdb8f /gbp/deb
parent618385ea9b2c9c232f2ea93442032ec5443b321f (diff)
DebianChangelog: add accessor for distribution
Diffstat (limited to 'gbp/deb')
-rw-r--r--gbp/deb/changelog.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gbp/deb/changelog.py b/gbp/deb/changelog.py
index 58100a96..0a82790b 100644
--- a/gbp/deb/changelog.py
+++ b/gbp/deb/changelog.py
@@ -149,6 +149,10 @@ class ChangeLog(object):
return self._cp['Version']
@property
+ def distribution(self):
+ return self._cp['Distribution']
+
+ @property
def upstream_version(self):
"""The upstream version"""
return self._cp['Upstream-Version']