aboutsummaryrefslogtreecommitdiff
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, 6 insertions, 0 deletions
diff --git a/gbp/deb/changelog.py b/gbp/deb/changelog.py
index 1c66d4a..0f9bace 100644
--- a/gbp/deb/changelog.py
+++ b/gbp/deb/changelog.py
@@ -71,6 +71,7 @@ class ChangeLog(object):
"""
self._contents = ''
self._cp = None
+ self._filename = filename
# Check that either contents or filename is passed (but not both)
if (not filename and not contents) or (filename and contents):
@@ -123,6 +124,11 @@ class ChangeLog(object):
self._cp[item] = value
@property
+ def filename(self):
+ """The filename (path) of the changelog"""
+ return self._filename
+
+ @property
def name(self):
"""The packges name"""
return self._cp['Source']