X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fbup%2Foptions.py;h=394b71daed2311e9417cd97353e9b12975b7b288;hb=c40b3dd5fd74e72024fbaad3daf5a958aefa1c54;hp=3256ac96d585515260dc7498f32229daef4dfd14;hpb=8628f6e6f2643f5800fce10fa96f27a4d6f25b80;p=bup.git diff --git a/lib/bup/options.py b/lib/bup/options.py index 3256ac9..394b71d 100644 --- a/lib/bup/options.py +++ b/lib/bup/options.py @@ -60,6 +60,8 @@ Options can be put in different groups. Options in the same group must be on consecutive lines. Groups are formed by inserting a line that begins with a space. The text on that line will be output after an empty line. """ + +from __future__ import absolute_import import sys, os, textwrap, getopt, re, struct try: @@ -265,7 +267,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: