Skip to content
Myr

Merge pull request #1608 from Windfarer/patch-1

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

Fix a typo

authored by Armin Ronacher · committed by Armin Ronacher · parents 5c73a8b, 7f678aa · 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:flask/exthook.py+1 added-1 removed
109 unmodified lines
110 # name shows up properly here. Success!111 if module_name == important_module:112 return True113114 # Some python versions will will clean up modules so early that the114 # Some python versions will clean up modules so early that the115 # module name at that point is no longer set. Try guessing from116 # the filename then.117 filename = os.path.abspath(tb.tb_frame.f_code.co_filename)118 test_string = os.path.sep + important_module.replace('.', os.path.sep)
2 unmodified lines