Apparently pylint doesn't like print statements as functions

This commit is contained in:
Colton Myers 2015-03-16 17:46:03 -06:00
parent 9c87ece244
commit 428a93353c

View File

@ -72,7 +72,7 @@ def execution():
for v in six.itervalues(ret): for v in six.itervalues(ret):
docs.update(v) docs.update(v)
except SaltClientError as exc: except SaltClientError as exc:
print(exc) # pylint: disable=W1698 print exc # pylint: disable=W1698
return [] return []
i = itertools.chain.from_iterable([six.iteritems(i) for i in six.itervalues(docs)]) i = itertools.chain.from_iterable([six.iteritems(i) for i in six.itervalues(docs)])