mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix some lint
This commit is contained in:
parent
c08071e182
commit
ee37cdace9
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue