summaryrefslogtreecommitdiff
path: root/aptsources/sourceslist.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-06-12 10:14:10 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-06-12 10:14:10 +0200
commit2d2ba80ac8aafbfc4f5a2a2ae6490ad994d57d9d (patch)
treee124ac55d34834c03aba5585dd8d566c33667f38 /aptsources/sourceslist.py
parent6d4ac7f78db22a03f0b4f295fdd7dacd22b7cc48 (diff)
parent1cc440e8426cdd297f73f7322356744d190f58fe (diff)
downloadpython-apt-2d2ba80ac8aafbfc4f5a2a2ae6490ad994d57d9d.tar.gz
merged from lp:~mvo/python-apt/mvo
Diffstat (limited to 'aptsources/sourceslist.py')
-rw-r--r--aptsources/sourceslist.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/aptsources/sourceslist.py b/aptsources/sourceslist.py
index 03377258..61b75f75 100644
--- a/aptsources/sourceslist.py
+++ b/aptsources/sourceslist.py
@@ -23,6 +23,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
+from __future__ import absolute_import
+
import glob
import logging
import os.path
@@ -31,7 +33,7 @@ import shutil
import time
import apt_pkg
-from distinfo import DistInfo
+from .distinfo import DistInfo
from apt.deprecation import function_deprecated_by
#from apt_pkg import gettext as _