From d6da8a5a0d6bda68cf05986afcc9d37226376833 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 23 Sep 2012 16:30:14 +0000 Subject: [PATCH] Unix: Prevent name conflict with _(). --- plugins/Unix/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Unix/plugin.py b/plugins/Unix/plugin.py index b0b6d3fab..bc6f8283b 100644 --- a/plugins/Unix/plugin.py +++ b/plugins/Unix/plugin.py @@ -230,7 +230,7 @@ class Unix(callbacks.Plugin): 'variable appropriately.')) @internationalizeDocstring - def wtf(self, irc, msg, args, _, something): + def wtf(self, irc, msg, args, foo, something): """[is] Returns wtf is. 'wtf' is a *nix command that first @@ -248,7 +248,7 @@ class Unix(callbacks.Plugin): except OSError: irc.error(_('It seems the configured wtf command was not ' 'available.'), Raise=True) - (out, _) = inst.communicate() + (out, foo) = inst.communicate() inst.wait() if out: response = out.decode('utf8').splitlines()[0].strip()