summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-30 14:38:14 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-30 14:38:14 +0200
commit06f78ffeceb248bfb5d7c34521f5dc5f78ccebfe (patch)
tree3b26b3c372e7a51f20cb61cc595713d16820bd1b
parent9cf2545567bef5e7dbd8787b0f8db2c60f3ca5eb (diff)
downloadpython-apt-06f78ffeceb248bfb5d7c34521f5dc5f78ccebfe.tar.gz
apt/debfile.py: improve logging
-rw-r--r--apt/debfile.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt/debfile.py b/apt/debfile.py
index ea83c5b3..ac550d8c 100644
--- a/apt/debfile.py
+++ b/apt/debfile.py
@@ -56,6 +56,7 @@ class DebPackage(object):
def open(self, filename):
""" open given debfile """
+ self._dbg(3, "open '%s'" % filename)
self._need_pkgs = []
self._installed_conflicts = set()
self._failure_string = ""
@@ -184,6 +185,7 @@ class DebPackage(object):
self.replaces_real_pkg(pkgname, oper, ver)):
self._failure_string += _("Conflicts with the installed package "
"'%s'") % pkg.name
+ self._dbg(3, "conflicts with installed pkg '%s'" % pkg.name)
return True
return False
@@ -386,7 +388,7 @@ class DebPackage(object):
def check(self):
"""Check if the package is installable."""
- self._dbg(3, "check_depends")
+ self._dbg(3, "check")
# check arch
if not "Architecture" in self._sections: