mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43300 from twangboy/win_fix_netapi_rest_tornado
Fix `unit.netapi.rest_tornado.test_handlers` for Windows
This commit is contained in:
commit
aee654da92
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import os
|
|||
import salt.auth
|
||||
from salt.utils.versions import StrictVersion as _StrictVersion
|
||||
|
||||
__virtualname__ = os.path.abspath(__file__).rsplit('/')[-2] or 'rest_tornado'
|
||||
__virtualname__ = os.path.abspath(__file__).rsplit(os.sep)[-2] or 'rest_tornado'
|
||||
|
||||
logger = logging.getLogger(__virtualname__)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue