From ea457aa0a564977668791e13e235788e013d55b8 Mon Sep 17 00:00:00 2001 From: rallytime Date: Fri, 21 Jul 2017 09:08:26 -0600 Subject: [PATCH] Remove ALIASES block from template util These alias warnings were removed in #38218 for 2017.7. --- salt/utils/templates.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/salt/utils/templates.py b/salt/utils/templates.py index 8a2514e796..b4bf049dc1 100644 --- a/salt/utils/templates.py +++ b/salt/utils/templates.py @@ -73,11 +73,7 @@ class AliasedLoader(object): return getattr(self.wrapped, name) def __contains__(self, name): - if name in ALIASES: - salt.utils.warn_until('Nitrogen', ALIAS_WARN) - return ALIASES[name] in self.wrapped - else: - return name in self.wrapped + return name in self.wrapped class AliasedModule(object):