summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-08-23 10:45:14 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2008-08-23 10:45:14 +0200
commit08687ea30fffba24cf8204299285f3180f6ae3c3 (patch)
treea4666c1528f79520013a18cec557af329521ccff
parent34503feab88a8aa72ef511f86375933a4d8707ef (diff)
downloadpython-apt-08687ea30fffba24cf8204299285f3180f6ae3c3.tar.gz
do not run apt_pkg.init() in the middle of a function, that *destroys* all custom config data
-rw-r--r--aptsources/distinfo.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py
index b962def6..a6c0faf8 100644
--- a/aptsources/distinfo.py
+++ b/aptsources/distinfo.py
@@ -128,7 +128,6 @@ class DistInfo:
base_dir = "/usr/share/python-apt/templates"):
self.metarelease_uri = ''
self.templates = []
- apt_pkg.init()
self.arch = apt_pkg.Config.Find("APT::Architecture")
location = None