mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix imports
This commit is contained in:
parent
70d3de0218
commit
f8a75f1b06
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ import collections
|
|||
import datetime
|
||||
import logging
|
||||
import subprocess
|
||||
from salt.utils.stringutils import to_str
|
||||
import salt.utils.stringutils
|
||||
|
||||
# Import 3rd-party libs
|
||||
from salt.ext import six
|
||||
|
@ -48,7 +48,7 @@ def get_osarch():
|
|||
close_fds=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE).communicate()[0]
|
||||
return to_str(ret).strip() or 'unknown'
|
||||
return salt.utils.stringutils.to_str(ret).strip() or 'unknown'
|
||||
|
||||
|
||||
def check_32(arch, osarch=None):
|
||||
|
|
Loading…
Add table
Reference in a new issue