Skip to content
Myr

Merge pull request #106 from enkore/fix-editor-py3

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix editor failing with Python 3

authored by Armin Ronacher · committed by Armin Ronacher · parents ddb112d, 3d34ddf · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:click/_termui_impl.py+1 added-1 removed
356 unmodified lines
357 if self.require_save \358 and os.path.getmtime(name) == timestamp:359 return None360361 f = open(name)361 f = open(name, 'rb')362 try:363 rv = f.read()364 finally:365 f.close()
106 unmodified lines