Merge pull request #4250 from spacedentist/develop

Mirror salt.utils.pydsl.StateDeclaration.__getattr__ as __getitem__
This commit is contained in:
Thomas S Hatch 2013-03-25 09:17:10 -07:00
commit 42932f7390

View File

@ -261,6 +261,8 @@ class StateDeclaration(object):
self._mods.append(m)
return m
__getitem__ = __getattr__
def __str__(self):
return self._id