mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 13:42:36 +01:00
Unix: Prevent name conflict with _().
This commit is contained in:
parent
3a43229755
commit
d6da8a5a0d
@ -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] <something>
|
||||
|
||||
Returns wtf <something> 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()
|
||||
|
Loading…
Reference in New Issue
Block a user