mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
* fix ExtDeprecationWarning (#2137) * remove warnings.simplefilter from cli.py into superset for PEP (#2137)
This commit is contained in:
committed by
Maxime Beauchemin
parent
1f58e18b6f
commit
1edc2b91cf
@@ -4,6 +4,10 @@ from __future__ import division
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import warnings
|
||||
from flask.exthook import ExtDeprecationWarning
|
||||
warnings.simplefilter('ignore', ExtDeprecationWarning)
|
||||
|
||||
from superset.cli import manager
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user