From f9aff197ceaac1f35a2c727e9c9d1f1964245f80 Mon Sep 17 00:00:00 2001 From: Cameron Dale Date: Thu, 13 Dec 2007 18:19:17 -0800 Subject: [PATCH] Fix the architecture problem in the AptPackages config system. --- AptPackages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AptPackages.py b/AptPackages.py index 6a01f40..27d34bf 100644 --- a/AptPackages.py +++ b/AptPackages.py @@ -23,7 +23,7 @@ import copy, UserDict from twisted.trial import unittest aptpkg_dir='.apt-dht' -apt_pkg.InitSystem() +apt_pkg.init() class AptDpkgInfo(UserDict.UserDict): """ @@ -107,7 +107,7 @@ class AptPackages: """ DEFAULT_APT_CONFIG = { #'APT' : '', - 'APT::Architecture' : 'amd64', # TODO: Fix this, see bug #436011 and #285360 + #'APT::Architecture' : 'amd64', # TODO: Fix this, see bug #436011 and #285360 #'APT::Default-Release' : 'unstable', 'Dir':'.', # / -- 2.39.5