Skip to content
Myr

Fixed the last changeset.

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

authored by Armin Ronacher · committed by Armin Ronacher · parent 9554844 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/helpers.py+2 added-2 removed
665 unmodified lines
666 return loader.is_package(mod_name)667 # importlib's namespace loaders do not have this functionality but668 # all the modules it loads are packages, so we can take advantage of669 # this information.670 elif (loader.__module__ == '_frozen_importlib' and671 loader.__name__ == 'NamespaceLoader'):670 elif (loader.__class__.__module__ == '_frozen_importlib' and671 loader.__class__.__name__ == 'NamespaceLoader'):672 return True673 # Otherwise we need to fail with an error that explains what went674 # wrong.675 raise AttributeError(
208 unmodified lines