1
Fixes bug in GetIP(), see #519433 for full description.
2
Patch by Giuseppe Martino <denever@truelite.it>, thank you!
4
wicd/wnettools.py | 2 +-
5
1 file changed, 1 insertion(+), 1 deletion(-)
7
--- wicd-1.5.9.orig/wicd/wnettools.py
8
+++ wicd-1.5.9/wicd/wnettools.py
9
@@ -563,7 +563,7 @@ class Interface(object):
10
The IP address of the interface in dotted quad form.
13
- if not self.iface: return False
14
+ if not self.iface: return None
15
cmd = 'ifconfig ' + self.iface
16
if self.verbose: print cmd
17
output = misc.Run(cmd)