diff options
author | Bastian Blank <waldi@debian.org> | 2014-01-01 22:14:11 +0000 |
---|---|---|
committer | Bastian Blank <waldi@debian.org> | 2014-01-01 22:14:11 +0000 |
commit | 929894f687228630fab87b76df687f5cd266c8dd (patch) | |
tree | 202ad0a4cdc3ba2618e878459998e75954a243d5 /debian/lib/python/debian_linux/abi.py | |
parent | 47b841047de7bd09f8caf1768a00ab9bff3e1760 (diff) | |
download | kernel_replicant_linux-929894f687228630fab87b76df687f5cd266c8dd.tar.gz kernel_replicant_linux-929894f687228630fab87b76df687f5cd266c8dd.tar.bz2 kernel_replicant_linux-929894f687228630fab87b76df687f5cd266c8dd.zip |
* debian/bin/genorig.py, debian/lib/python/debian_linux/abi.py,
debian/lib/python/debian_linux/debian.py,
debian/lib/python/debian_linux/patches.py,
- Support Python 3.
- Use six if necessary.
* debian/templates/control.main.in, debian/templates/control.source.in:
Depend on python-six.
svn path=/dists/trunk/linux/; revision=20946
Diffstat (limited to 'debian/lib/python/debian_linux/abi.py')
-rw-r--r-- | debian/lib/python/debian_linux/abi.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/debian/lib/python/debian_linux/abi.py b/debian/lib/python/debian_linux/abi.py index 1dcf63233465..0c4b3bdbc7c9 100644 --- a/debian/lib/python/debian_linux/abi.py +++ b/debian/lib/python/debian_linux/abi.py @@ -37,8 +37,6 @@ class Symbols(dict): self[name] = Symbol(name, module, version, export) def write(self, file): - symbols = self.values() - symbols.sort(key=lambda i: i.name) - for s in symbols: + for s in sorted(self.values(), key=lambda i: i.name): file.write("%s %s %s %s\n" % (s.version, s.name, s.module, s.export)) |