]> arthur.barton.de Git - bup.git/commitdiff
options: use items() instead of iteritems()
authorRob Browning <rlb@defaultvalue.org>
Thu, 18 Jan 2018 01:56:46 +0000 (19:56 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sat, 20 Jan 2018 19:20:42 +0000 (13:20 -0600)
Python 3 dropped iteritems().

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/options.py

index 3256ac96d585515260dc7498f32229daef4dfd14..b4b5282b9cc58d16929f2ce54b34125ec867f2a7 100644 (file)
@@ -265,7 +265,7 @@ class Options:
 
         opt = OptDict(aliases=self._aliases)
 
-        for k,v in self._defaults.iteritems():
+        for k,v in self._defaults.items():
             opt[k] = v
 
         for (k,v) in flags: