Skip to content

Commit 1a490fe

Browse files
committed
Py2.6 fix for "futurize -f"
1 parent 438b6ec commit 1a490fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libfuturize/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def main(args=None):
241241
# First ensure that no names clash (e.g.
242242
# lib2to3.fixes.fix_blah and libfuturize.fixes.fix_blah):
243243
found = [f for f in avail_fixes
244-
if f.endswith('fix_{}'.format(fix))]
244+
if f.endswith('fix_{0}'.format(fix))]
245245
if len(found) > 1:
246246
print("Ambiguous fixer name. Choose a fully qualified "
247247
"module name instead from these:\n" +

0 commit comments

Comments
 (0)