Merge "Fix ImportWarning during importing a module"
This commit is contained in:
commit
cbe71fde5f
|
@ -33,7 +33,8 @@ from tripleo_common.utils import tarball
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
warnings.filterwarnings('once')
|
warnings.filterwarnings('once', category=DeprecationWarning)
|
||||||
|
warnings.filterwarnings('once', category=UserWarning)
|
||||||
|
|
||||||
|
|
||||||
class Config(object):
|
class Config(object):
|
||||||
|
|
Loading…
Reference in New Issue