|
@@ -249,11 +249,10 @@ class PromiseProxy(Proxy):
|
|
|
'_Proxy__kwargs')):
|
|
|
try:
|
|
|
thing = Proxy._get_current_object(self)
|
|
|
- object.__setattr__(self, '__thing', thing)
|
|
|
- return thing
|
|
|
except:
|
|
|
raise
|
|
|
else:
|
|
|
+ object.__setattr__(self, '__thing', thing)
|
|
|
for attr in _clean:
|
|
|
try:
|
|
|
object.__delattr__(self, attr)
|
|
@@ -274,6 +273,7 @@ class PromiseProxy(Proxy):
|
|
|
object.__delattr__(self, '__pending__')
|
|
|
except AttributeError:
|
|
|
pass
|
|
|
+ return thing
|
|
|
|
|
|
|
|
|
def maybe_evaluate(obj):
|