summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt/package.py2
-rw-r--r--debian/changelog8
2 files changed, 10 insertions, 0 deletions
diff --git a/apt/package.py b/apt/package.py
index 29eec909..3d091ae2 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -137,6 +137,7 @@ class Origin(object):
component - The component (eg. main)
label - The Label, as set in the Release file
origin - The Origin, as set in the Release file
+ codename - The Codename, as set in the Release file
site - The hostname of the site.
trusted - Boolean value whether this is trustworthy.
"""
@@ -146,6 +147,7 @@ class Origin(object):
self.component = packagefile.component
self.label = packagefile.label
self.origin = packagefile.origin
+ self.codename = packagefile.codename
self.site = packagefile.site
self.not_automatic = packagefile.not_automatic
# check the trust
diff --git a/debian/changelog b/debian/changelog
index c910a2ab..3d50070a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-apt (0.8.9~exp2) UNRELEASEDexperimental; urgency=low
+
+ * apt/package.py:
+ - export codename in apt.package.Origin as well
+ (closes: #703401)
+
+ -- Michael Vogt <mvo@debian.org> Tue, 19 Mar 2013 16:50:55 +0100
+
python-apt (0.8.9~exp1) experimental; urgency=low
[ Michael Vogt ]