Fix memoize decorator: raise instead of storing None
authorKali Kaneko <kali@leap.se>
Thu, 19 Dec 2013 02:31:23 +0000 (22:31 -0400)
committerKali Kaneko <kali@leap.se>
Thu, 19 Dec 2013 02:31:23 +0000 (22:31 -0400)
commit4879753edfc7380e1e96d882716b60e981a4de53
treeab32ecf8aa3726de1fda01773d1ce51a448b4160
parentf498b0eca553176f69f7be4eb42206f579b9be8b
Fix memoize decorator: raise instead of storing None

With this fix, we will re-raise an exception that happens
while evaluating the callable, instead of storing None as value.
src/leap/common/decorators.py