mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix linter issues
This commit is contained in:
parent
ccbcb5588a
commit
10ec8beb39
2 changed files with 3 additions and 3 deletions
|
@ -34,8 +34,8 @@ __virtualname__ = 'runtests_log_handler'
|
|||
def __virtual__():
|
||||
if 'runtests_log_port' not in __opts__:
|
||||
return False, "'runtests_log_port' not in options"
|
||||
# if six.PY3:
|
||||
# return False, "runtests external logging handler is temporarily disabled for Python 3 tests"
|
||||
if six.PY3:
|
||||
return False, "runtests external logging handler is temporarily disabled for Python 3 tests"
|
||||
return True
|
||||
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ class JinjaFiltersTest(object):
|
|||
self.assertIn('module_|-test_|-test.echo_|-run', ret)
|
||||
self.assertEqual(ret['module_|-test_|-test.echo_|-run']['changes'],
|
||||
_expected)
|
||||
except:
|
||||
finally:
|
||||
if salt.utils.platform.is_windows():
|
||||
os.remove('c:\\empty_file')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue