mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix some lint
This commit is contained in:
parent
c08071e182
commit
ee37cdace9
@ -617,8 +617,8 @@ def system_information():
|
||||
release = platform.release()
|
||||
if platform.win32_ver()[0]:
|
||||
import win32api
|
||||
if ((sys.version_info.major == 2 and sys.version_info >= (2,7,12)) or
|
||||
(sys.version_info.major == 3 and sys.version_info >= (3,5,2))):
|
||||
if ((sys.version_info.major == 2 and sys.version_info >= (2, 7, 12)) or
|
||||
(sys.version_info.major == 3 and sys.version_info >= (3, 5, 2))):
|
||||
if win32api.GetVersionEx(1)[8] > 1:
|
||||
server = {'Vista': '2008Server',
|
||||
'7': '2008ServerR2',
|
||||
|
Loading…
Reference in New Issue
Block a user