diff options
| author | Bob Halley <halley@nominum.com> | 2011-05-12 11:51:06 +0100 |
|---|---|---|
| committer | Bob Halley <halley@nominum.com> | 2011-05-12 11:51:06 +0100 |
| commit | 71e17a44934d92ca4cf18a6ee34716f25546a372 (patch) | |
| tree | df96807bad257e42698d8f1ec5eb5e81caa679eb | |
| parent | b3598dc86f8426352f37d17a0664f506933d6440 (diff) | |
| download | dnspython-71e17a44934d92ca4cf18a6ee34716f25546a372.tar.gz | |
work around using "sorted" as a parameter name by using module "builtins"
| -rw-r--r-- | dns/zone.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dns/zone.py b/dns/zone.py index b4aa1b5..bbb9b08 100644 --- a/dns/zone.py +++ b/dns/zone.py @@ -17,6 +17,7 @@ from __future__ import generators +import builtins import sys import dns.exception @@ -473,7 +474,7 @@ class Zone(object): want_close = False try: if sorted: - names = sorted(self.keys()) + names = builtins.sorted(self.keys()) else: names = self.keys() for n in names: |
