mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
Fix Python 3 compatibility (broken by f5df6695c0
).
This commit is contained in:
parent
0a9d6469f0
commit
ba9938b735
@ -341,7 +341,7 @@ class Alias(callbacks.Plugin):
|
||||
if locked and currentAlias != alias:
|
||||
raise AliasError(format('Alias %q is locked.', name))
|
||||
f = makeNewAlias(name, alias)
|
||||
f = new.instancemethod(f, self, Alias)
|
||||
f = types.MethodType(f, self)
|
||||
if '.' in name or '|' in name:
|
||||
aliasGroup = self.registryValue('escapedaliases', value=False)
|
||||
confname = escapeAlias(name)
|
||||
|
Loading…
Reference in New Issue
Block a user