Merge pull request #5239 from UtahDave/develop

Don't use a bare exception
This commit is contained in:
David Boucha 2013-05-23 15:14:38 -07:00
commit 225b2d8c0f

View File

@ -236,7 +236,7 @@ def interfaces():
item['broadcast'] = ''
try:
item['broadcast'] = iface.DefaultIPGateway[0]
except:
except Exception:
pass
item['netmask'] = iface.IPSubnet[0]
item['label'] = iface.Description