summaryrefslogtreecommitdiff
path: root/aptsources/distinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'aptsources/distinfo.py')
-rw-r--r--aptsources/distinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py
index ce44e48b..268d9b9f 100644
--- a/aptsources/distinfo.py
+++ b/aptsources/distinfo.py
@@ -148,7 +148,7 @@ class DistInfo:
base_dir = "/usr/share/python-apt/templates"):
self.metarelease_uri = ''
self.templates = []
- self.arch = apt_pkg.Config.Find("APT::Architecture")
+ self.arch = apt_pkg.config.find("APT::Architecture")
location = None
match_loc = re.compile(r"^#LOC:(.+)$")