From 85ee506445831ac0884da564e97307d3b09ddaf6 Mon Sep 17 00:00:00 2001 From: Benjamin Schubert Date: Tue, 20 Jun 2017 14:14:48 +0200 Subject: [PATCH] Register try as an alias for try_ --- salt/modules/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/modules/test.py b/salt/modules/test.py index b1f13d6160..7776aeedc2 100644 --- a/salt/modules/test.py +++ b/salt/modules/test.py @@ -25,7 +25,8 @@ __proxyenabled__ = ['*'] # Don't shadow built-in's. __func_alias__ = { 'true_': 'true', - 'false_': 'false' + 'false_': 'false', + 'try_': 'try', } log = logging.getLogger(__name__)