Commit 6b4f09d7 by Michael DeHaan

Style fix.

parent 09fc90cc
......@@ -1067,7 +1067,8 @@ class LinuxNetwork(Network):
)
for path in glob.glob('/sys/class/net/*'):
if not os.path.isdir(path): continue
if not os.path.isdir(path):
continue
device = os.path.basename(path)
interfaces[device] = { 'device': device }
if os.path.exists(os.path.join(path, 'address')):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment