From 4821384f4dbd1ba4b4c33bc5ae66d468a8860bcb Mon Sep 17 00:00:00 2001 From: Mike Place Date: Fri, 31 Jul 2015 17:08:31 -0600 Subject: [PATCH] Lint #25933 cc: @whiteinge --- salt/modules/sysmod.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/modules/sysmod.py b/salt/modules/sysmod.py index cf0e5e472f..43169c972e 100644 --- a/salt/modules/sysmod.py +++ b/salt/modules/sysmod.py @@ -15,6 +15,7 @@ import salt.state import salt.utils import salt.utils.schema as S from salt.utils.doc import strip_rst as _strip_rst +from salt.ext.six.moves import zip # Import 3rd-party libs import salt.ext.six as six @@ -845,7 +846,7 @@ def _argspec_to_schema(mod, spec): defaults = spec['defaults'] or [] args_req = args[:len(args) - len(defaults)] - args_defaults = zip(args[-len(defaults):], defaults) + args_defaults = list(zip(args[-len(defaults):], defaults)) types = { 'title': mod,