mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Whitespace cleanup. Remove a debug import.
This commit is contained in:
parent
c8a13af734
commit
fff6722930
@ -27,7 +27,6 @@ from platform import _supported_dists
|
||||
_supported_dists += ('arch', 'mageia', 'meego', 'vmware', 'bluewhite64',
|
||||
'slamd64', 'enterprise', 'ovs', 'system')
|
||||
|
||||
|
||||
import salt.log
|
||||
import salt.utils
|
||||
|
||||
@ -52,6 +51,7 @@ if sys.platform.startswith('win'):
|
||||
log.exception("Unable to import Python wmi module, some core grains "
|
||||
"will be missing")
|
||||
|
||||
|
||||
def _windows_cpudata():
|
||||
'''
|
||||
Return the cpu information for Windows systems architecture
|
||||
@ -363,7 +363,6 @@ def _windows_platform_data(osdata):
|
||||
if not has_wmi:
|
||||
return {}
|
||||
|
||||
from datetime import datetime
|
||||
wmi_c = wmi.WMI()
|
||||
# http://msdn.microsoft.com/en-us/library/windows/desktop/aa394102%28v=vs.85%29.aspx
|
||||
systeminfo = wmi_c.Win32_ComputerSystem()[0]
|
||||
|
Loading…
Reference in New Issue
Block a user