From 34fa87e70cd6967805ba6faebf146bc4dcd5c14c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Sat, 23 Aug 2008 11:10:57 +0200 Subject: * aptsources/__init__.py, aptsources/distinfo.py: - run apt_pkg.init() when aptsources gets imported and not the distinfo function --- aptsources/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'aptsources') 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() -- cgit v1.2.3