diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-08-23 11:10:57 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-08-23 11:10:57 +0200 |
| commit | 34fa87e70cd6967805ba6faebf146bc4dcd5c14c (patch) | |
| tree | abf8d4249a5eac0328a88e611951de2857ea4f89 /aptsources | |
| parent | 08687ea30fffba24cf8204299285f3180f6ae3c3 (diff) | |
| download | python-apt-34fa87e70cd6967805ba6faebf146bc4dcd5c14c.tar.gz | |
* aptsources/__init__.py, aptsources/distinfo.py:
- run apt_pkg.init() when aptsources gets imported and not
the distinfo function
Diffstat (limited to 'aptsources')
| -rw-r--r-- | aptsources/__init__.py | 4 |
1 files changed, 4 insertions, 0 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() |
