mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
Apply pep8 fix
This commit is contained in:
1 parent
f01a6dcaaf
commit
da240f21ba
14 files changed
+54
-51
No files matched your search
@@ -21,6 +21,7 @@ import hashlib
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def md5sum(path):
|
||||
"""
|
||||
Return the md5sum of an image and cache it on disk
|
||||
|
||||
@@ -30,7 +30,7 @@ def _get_windows_interfaces_from_registry():
|
||||
|
||||
import winreg
|
||||
|
||||
#HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
|
||||
# HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
|
||||
interfaces = []
|
||||
try:
|
||||
hkey = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards")
|
||||
|
||||
Reference in new issue
Block a user