summaryrefslogtreecommitdiff
path: root/extra/source/wicd/wicd-1.7.0-fix_script_bug.diff
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/wicd/wicd-1.7.0-fix_script_bug.diff')
-rw-r--r--extra/source/wicd/wicd-1.7.0-fix_script_bug.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/source/wicd/wicd-1.7.0-fix_script_bug.diff b/extra/source/wicd/wicd-1.7.0-fix_script_bug.diff
new file mode 100644
index 00000000..dc3ace60
--- /dev/null
+++ b/extra/source/wicd/wicd-1.7.0-fix_script_bug.diff
@@ -0,0 +1,30 @@
+revno: 553
+committer: Andrew Psaltis <ampsaltis@gmail.com>
+branch nick: 1.6
+timestamp: Wed 2010-01-27 14:06:21 -0500
+message:
+ Fixed bug in script macro expansion.
+
+=== modified file 'wicd/networking.py'
+--- wicd/networking.py 2010-01-15 04:02:10 +0000
++++ wicd/networking.py 2010-01-27 19:06:21 +0000
+@@ -215,8 +215,8 @@
+ if self.pre_disconnect_script:
+ print 'Running pre-disconnect script'
+ misc.ExecuteScript(expand_script_macros(self.pre_disconnect_script,
+- 'pre-disconnection', (mac,
+- name)),
++ 'pre-disconnection',
++ mac, name),
+ self.debug)
+ iface.ReleaseDHCP()
+ iface.SetAddress('0.0.0.0')
+@@ -229,7 +229,7 @@
+ print 'Running post-disconnect script'
+ misc.ExecuteScript(expand_script_macros(self.post_disconnect_script,
+ 'post-disconnection',
+- (mac, name)),
++ mac, name),
+ self.debug)
+
+ def ReleaseDHCP(self):