ansible/lib/ansible/template
Marius Gedminas f91b28ef23 Fix safe_eval() of set literals
There was code to support set literals (on Python 2.7 and newer), but it
was buggy: SAFE_NODES.union() doesn't modify SAFE_NODES in place,
instead it returns a new set object that is then silently discarded.

I added a unit test and fixed the code.  I also changed the version
check to use sys.version_tuple instead of a string comparison, for
consistency with the subsequent Python 3.4 version check that I added in
the previous commit.
2015-09-11 09:41:05 +03:00
..
__init__.py Remove plugin._basedirs as we now use different data structures to achieve that functionality. 2015-09-10 10:41:31 -07:00
safe_eval.py Fix safe_eval() of set literals 2015-09-11 09:41:05 +03:00
template.py Making the switch to v2 2015-05-03 21:47:26 -05:00
vars.py Replace .iteritems() with six.iteritems() 2015-09-03 09:23:27 +03:00