mirror of
https://github.com/encounter/sceptre.git
synced 2026-03-30 11:37:13 -07:00
331ba328f3
Previously, dict and list types were contained within strings in sceptre.stack.Stack.__repr__(). This commit removes the strings so that a stack.__repr__() can be used to create a stack using eval(). In order to properly compare stacks a custom `__eq__` and therefore `__hash__` implementations were added to Stack. Adding a correct `__eq__` method to Stack allowed testing of Stack objects that were created from `eval()` of the stack `__repr__`.