Skip to content
Myr

Merge pull request #4719 from pallets/remove-lazy-option

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

remove `__traceback_hide__`

authored by David Lord · committed by GitHub · parents 633f421, 7d53a12 · Browse files · 1 file+0 added−4 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+0 added−4 removed

  • other:+0 added−4 removed

1 file+0 added−4 removed

modified:src/flask/cli.py-4 removed
212 unmodified lines
213 return ".".join(module_name[::-1])214215216def locate_app(module_name, app_name, raise_if_not_found=True):217 __traceback_hide__ = True # noqa: F841218217 try:218 __import__(module_name)219 except ImportError:220 # Reraise the ImportError if it occurred within the imported module.
72 unmodified lines
293 """Loads the Flask app (if not yet loaded) and returns it. Calling294 this multiple times will just result in the already loaded app to295 be returned.296 """299 __traceback_hide__ = True # noqa: F841300297 if self._loaded_app is not None:298 return self._loaded_app299300 if self.create_app is not None:
788 unmodified lines