Style fix.

This commit is contained in:
Michael DeHaan 2013-05-11 17:21:49 -04:00
parent 64342b5e02
commit 911213f8d7

View file

@ -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')):