Hello again,

sorry for the garbled patch, this time properly, as attachement.

regards,
Jan
--- DebPackage.py.orig	2007-08-24 02:30:26.000000000 +0200
+++ DebPackage.py	2007-08-24 02:31:27.000000000 +0200
@@ -232,7 +232,7 @@
 
         # check arch
         arch = self._sections["Architecture"]
-        if  arch != "all" and arch != apt_pkg.CPU:
+        if  arch != "all" and arch != apt_pkg.Config["APT::Architecture"]:
             self._dbg(1,"ERROR: Wrong architecture dude!")
             self._failureString = _("Wrong architecture '%s'" % arch)
             return False

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to