diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-12 14:55:55 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-12 14:55:55 +0200 |
| commit | 008ba8e659c6aabe66496aab0bfbeb0bf92a9e30 (patch) | |
| tree | f6b2ec1effefbed34de7e8a9ea01f5885f0cdd30 /apt/debfile.py | |
| parent | 4325749c7bfe5f1e83983415e13eafd84bb62907 (diff) | |
| parent | 3b155e595fed78f8eac22de78106cd3dcad9793c (diff) | |
| download | python-apt-008ba8e659c6aabe66496aab0bfbeb0bf92a9e30.tar.gz | |
merged from debian-sid, improve test output
Diffstat (limited to 'apt/debfile.py')
| -rw-r--r-- | apt/debfile.py | 2 |
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: |
