Updating the six import to use salt version of six. Reverting a change in the adb beacon that broke tests.

This commit is contained in:
Gareth J. Greenaway 2018-01-03 08:37:38 -08:00
parent ff7e7011be
commit 907e1ddf9f
No known key found for this signature in database
GPG Key ID: 10B62F8A7CAD7A41
5 changed files with 7 additions and 5 deletions

View File

@ -56,7 +56,7 @@ def validate(config):
log.info('Need a one of the following adb '
'states: %s', ', '.join(states))
return False, ('Need a one of the following adb '
'states: %s', ', '.join(states))
'states: {0}'.format(', '.join(states)))
return True, 'Valid beacon configuration'

View File

@ -14,8 +14,9 @@ Dependencies
# Import Python libs
from __future__ import absolute_import, unicode_literals
import logging
import six
import time
from salt.ext import six
from salt.ext.six.moves import map
# Import 3rd Party libs

View File

@ -8,8 +8,9 @@ from __future__ import absolute_import
import atexit
import logging
import select
import six
import time
from salt.ext import six
from salt.ext.six.moves import map
# Import 3rd Party libs

View File

@ -14,8 +14,8 @@ from __future__ import absolute_import, unicode_literals
import logging
import re
import six
from salt.ext import six
from salt.ext.six.moves import map
log = logging.getLogger(__name__)

View File

@ -7,8 +7,8 @@ Beacon to emit Twilio text messages
from __future__ import absolute_import, unicode_literals
import logging
import six
from salt.ext import six
from salt.ext.six.moves import map
# Import 3rd Party libs