summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
Diffstat (limited to 'apt')
-rw-r--r--apt/debfile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt/debfile.py b/apt/debfile.py
index 81cd1dd2..06854cf2 100644
--- a/apt/debfile.py
+++ b/apt/debfile.py
@@ -506,6 +506,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):
@@ -514,6 +515,7 @@ class DebPackage(object):
hex += "%2.2x " % ord(c)
return hex
+ @staticmethod
def to_strish(self, in_data):
s = ""
for c in in_data: