From 59c19c8816ee7d0594c03b810b89ddc13d5af03a Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 24 Jul 2013 02:00:03 +0200 Subject: [PATCH] xrange is called 'range' in python3, change is python2 compatible --- gnupg/_parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnupg/_parsers.py b/gnupg/_parsers.py index 6a9e4ec..07c7ebe 100644 --- a/gnupg/_parsers.py +++ b/gnupg/_parsers.py @@ -1000,7 +1000,7 @@ class ImportResult(object): n_uids n_subk n_sigs n_revoc sec_read sec_imported sec_dups not_imported'''.split() _counts = collections.OrderedDict( - zip(_fields, [int(0) for x in xrange(len(_fields))]) ) + zip(_fields, [int(0) for x in range(len(_fields))]) ) #: A list of strings containing the fingerprints of the GnuPG keyIDs #: imported.