mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Remove ALIASES block from template util
These alias warnings were removed in #38218 for 2017.7.
This commit is contained in:
parent
c673b64583
commit
ea457aa0a5
@ -73,11 +73,7 @@ class AliasedLoader(object):
|
|||||||
return getattr(self.wrapped, name)
|
return getattr(self.wrapped, name)
|
||||||
|
|
||||||
def __contains__(self, name):
|
def __contains__(self, name):
|
||||||
if name in ALIASES:
|
return name in self.wrapped
|
||||||
salt.utils.warn_until('Nitrogen', ALIAS_WARN)
|
|
||||||
return ALIASES[name] in self.wrapped
|
|
||||||
else:
|
|
||||||
return name in self.wrapped
|
|
||||||
|
|
||||||
|
|
||||||
class AliasedModule(object):
|
class AliasedModule(object):
|
||||||
|
Loading…
Reference in New Issue
Block a user