summaryrefslogtreecommitdiff
path: root/apt/debfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'apt/debfile.py')
-rw-r--r--apt/debfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt/debfile.py b/apt/debfile.py
index 9bf27da3..f4a31379 100644
--- a/apt/debfile.py
+++ b/apt/debfile.py
@@ -512,7 +512,7 @@ class DebPackage(object):
return sorted(content)
@staticmethod
- def to_hex(self, in_data):
+ def to_hex(in_data):
hex = ""
for (i, c) in enumerate(in_data):
if i%80 == 0:
@@ -521,7 +521,7 @@ class DebPackage(object):
return hex
@staticmethod
- def to_strish(self, in_data):
+ def to_strish(in_data):
s = ""
for c in in_data:
if ord(c) < 10 or ord(c) > 127: