Skip to content

Commit

Permalink
Fix ExtDeprecationWarning (#2137) (#2138)
Browse files Browse the repository at this point in the history
* fix ExtDeprecationWarning (#2137)

* remove warnings.simplefilter from cli.py into superset for PEP (#2137)
  • Loading branch information
asdf2014 authored and mistercrunch committed Feb 8, 2017
1 parent 1f58e18 commit 1edc2b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions superset/bin/superset
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down

0 comments on commit 1edc2b9

Please sign in to comment.