forked from orbit-oss/flask
Merge pull request #4719 from pallets/remove-lazy-option
remove `__traceback_hide__`
This commit is contained in:
commit
3e5ca2902e
1 changed files with 0 additions and 4 deletions
|
|
@ -214,8 +214,6 @@ def prepare_import(path):
|
||||||
|
|
||||||
|
|
||||||
def locate_app(module_name, app_name, raise_if_not_found=True):
|
def locate_app(module_name, app_name, raise_if_not_found=True):
|
||||||
__traceback_hide__ = True # noqa: F841
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
__import__(module_name)
|
__import__(module_name)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
@ -296,8 +294,6 @@ class ScriptInfo:
|
||||||
this multiple times will just result in the already loaded app to
|
this multiple times will just result in the already loaded app to
|
||||||
be returned.
|
be returned.
|
||||||
"""
|
"""
|
||||||
__traceback_hide__ = True # noqa: F841
|
|
||||||
|
|
||||||
if self._loaded_app is not None:
|
if self._loaded_app is not None:
|
||||||
return self._loaded_app
|
return self._loaded_app
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue