Fix the architecture problem in the AptPackages config system.
authorCameron Dale <camrdale@gmail.com>
Fri, 14 Dec 2007 02:19:17 +0000 (18:19 -0800)
committerCameron Dale <camrdale@gmail.com>
Fri, 14 Dec 2007 02:19:17 +0000 (18:19 -0800)
AptPackages.py

index 6a01f40c7ecb69e241e39e32cbcabef2102eadb5..27d34bfdfa019905e82c40de45609d7ca04ba0f2 100644 (file)
@@ -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':'.', # /