Merge pull request #28146 from cachedout/lint_dracr

Lint dracr.py
This commit is contained in:
Mike Place 2015-10-20 11:55:07 -06:00
commit 7badd634ae

View File

@ -17,6 +17,7 @@ import salt.utils
# Import 3rd-party libs # Import 3rd-party libs
import salt.ext.six as six import salt.ext.six as six
from salt.ext.six.moves import range # pylint: disable=import-error,no-name-in-module,redefined-builtin from salt.ext.six.moves import range # pylint: disable=import-error,no-name-in-module,redefined-builtin
from salt.ext.six.moves import map
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
@ -1146,9 +1147,8 @@ def get_chassis_location(host=None,
''' '''
return system_info(host=host, return system_info(host=host,
admin_username=admin_username, admin_username=admin_username,
admin_password=admin_password)['Chassis Information']\ admin_password=admin_password)['Chassis Information']['Chassis Location']
['Chassis Location']
def set_general(cfg_sec, cfg_var, val, host=None, def set_general(cfg_sec, cfg_var, val, host=None,