diff options
| author | Sebastian Heinlein <sebi@glatzor.de> | 2008-08-25 00:08:23 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@glatzor.de> | 2008-08-25 00:08:23 +0200 |
| commit | ee8376bb4355b58b7816ab5c184dba1af231d76b (patch) | |
| tree | b53998fc74303a5d97272638100bf8d0ae13c5a3 /aptsources | |
| parent | 7e98c1633f22a652b7a69080d822c0af87331d04 (diff) | |
| parent | 34fa87e70cd6967805ba6faebf146bc4dcd5c14c (diff) | |
| download | python-apt-ee8376bb4355b58b7816ab5c184dba1af231d76b.tar.gz | |
Merge with mvo
Diffstat (limited to 'aptsources')
| -rw-r--r-- | aptsources/__init__.py | 4 | ||||
| -rw-r--r-- | aptsources/distinfo.py | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/aptsources/__init__.py b/aptsources/__init__.py index 8d1c8b69..d6b3605c 100644 --- a/aptsources/__init__.py +++ b/aptsources/__init__.py @@ -1 +1,5 @@ + +import apt_pkg +# init the package system +apt_pkg.init() 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 |
