summaryrefslogtreecommitdiff
path: root/apt/debfile.py
diff options
context:
space:
mode:
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: