From: Cameron Dale Date: Fri, 14 Dec 2007 02:19:17 +0000 (-0800) Subject: Fix the architecture problem in the AptPackages config system. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f9aff197ceaac1f35a2c727e9c9d1f1964245f80;p=quix0rs-apt-p2p.git Fix the architecture problem in the AptPackages config system. --- 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':'.', # /