summaryrefslogtreecommitdiff
path: root/apt/debfile.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-12 14:55:55 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-12 14:55:55 +0200
commit008ba8e659c6aabe66496aab0bfbeb0bf92a9e30 (patch)
treef6b2ec1effefbed34de7e8a9ea01f5885f0cdd30 /apt/debfile.py
parent4325749c7bfe5f1e83983415e13eafd84bb62907 (diff)
parent3b155e595fed78f8eac22de78106cd3dcad9793c (diff)
downloadpython-apt-008ba8e659c6aabe66496aab0bfbeb0bf92a9e30.tar.gz
merged from debian-sid, improve test output
Diffstat (limited to 'apt/debfile.py')
-rw-r--r--apt/debfile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt/debfile.py b/apt/debfile.py
index 7a1fa82d..ea83c5b3 100644
--- a/apt/debfile.py
+++ b/apt/debfile.py
@@ -507,6 +507,7 @@ class DebPackage(object):
content.append(name)
return sorted(content)
+ @staticmethod
def to_hex(self, in_data):
hex = ""
for (i, c) in enumerate(in_data):
@@ -515,6 +516,7 @@ class DebPackage(object):
hex += "%2.2x " % ord(c)
return hex
+ @staticmethod
def to_strish(self, in_data):
s = ""
for c in in_data: