fix pylint

This commit is contained in:
Daniel Wallace 2018-04-28 12:12:06 -05:00
parent 47b6d409d1
commit 400999c54f
No known key found for this signature in database
GPG Key ID: 5FA5E5544F010D48

View File

@ -945,7 +945,7 @@ class SaltMessageClient(object):
break
try:
kwargs = {}
if (self.source_ip or self.source_port):
if self.source_ip or self.source_port:
if tornado.version_info >= (4, 5):
### source_ip and source_port are supported only in Tornado >= 4.5
# See http://www.tornadoweb.org/en/stable/releases/v4.5.0.html