From 6b4f09d7dcf2f27a9ec78a0280312f6dc8d0f3fb Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 11 May 2013 17:21:49 -0400 Subject: [PATCH] Style fix. --- library/system/setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/system/setup b/library/system/setup index e3f99d9c88..85607ef1ab 100644 --- a/library/system/setup +++ b/library/system/setup @@ -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')):