textformat is a utility module. Move it.

This commit is contained in:
Pedro Algarvio 2019-10-14 14:21:04 +01:00
parent 1d9a16d8f0
commit acdbeb98cf
No known key found for this signature in database
GPG Key ID: BB36BF6584A298FF
4 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ GARBAGE = logging.GARBAGE = 1
QUIET = logging.QUIET = 1000 QUIET = logging.QUIET = 1000
# Import salt libs # Import salt libs
from salt.textformat import TextFormat from salt.utils.textformat import TextFormat
from salt.log.handlers import (TemporaryLoggingHandler, from salt.log.handlers import (TemporaryLoggingHandler,
StreamHandler, StreamHandler,
SysLogHandler, SysLogHandler,

View File

@ -10,7 +10,7 @@ import os
# Import Salt libs # Import Salt libs
from salt.ext import six from salt.ext import six
from salt.textformat import TextFormat from salt.utils.textformat import TextFormat
log = logging.getLogger(__name__) log = logging.getLogger(__name__)

View File

@ -789,7 +789,7 @@ def gen_min(cachedir, extra_mods='', overwrite=False, so_mods='',
'salt/minion.py', 'salt/minion.py',
'salt/pillar', 'salt/pillar',
'salt/pillar/__init__.py', 'salt/pillar/__init__.py',
'salt/textformat.py', 'salt/utils/textformat.py',
'salt/log', 'salt/log',
'salt/log/__init__.py', 'salt/log/__init__.py',
'salt/log/handlers', 'salt/log/handlers',