summaryrefslogtreecommitdiff
path: root/UpdateManager/Common
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-02-27 19:47:44 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-02-27 19:47:44 +0100
commit9fab3e0069ee2f9b05084787ce114a67ae65c13f (patch)
treea1d3680ffb37fac0550959de618d1640428eaf8c /UpdateManager/Common
parenteadf5eaff85bec1548298ce14874cac070f44454 (diff)
parent67389517a2f4c58ee03b3ba6ee540df4f8f073f7 (diff)
downloadpython-apt-9fab3e0069ee2f9b05084787ce114a67ae65c13f.tar.gz
* merged with main
Diffstat (limited to 'UpdateManager/Common')
-rw-r--r--UpdateManager/Common/DistInfo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/UpdateManager/Common/DistInfo.py b/UpdateManager/Common/DistInfo.py
index df244a51..102b981c 100644
--- a/UpdateManager/Common/DistInfo.py
+++ b/UpdateManager/Common/DistInfo.py
@@ -22,6 +22,7 @@
import os
import gettext
+from os import getenv
import ConfigParser
_ = gettext.gettext
@@ -51,6 +52,8 @@ class DistInfo:
pipe.close()
del pipe
+ self.dist = dist
+
dist_fname = "%s/%s.info" % (base_dir, dist)
dist_file = open (dist_fname)
if not dist_file:
@@ -100,7 +103,7 @@ class DistInfo:
if __name__ == "__main__":
- d = DistInfo ("Debian", "../distribution-data")
+ d = DistInfo ("Debian", "../../channels")
print d.changelogs_uri
for suite in d.suites:
print suite.name