Procházet zdrojové kódy

Pop result after post-execution and return possibly changed value

almahmoud před 7 roky
rodič
revize
96fb82e59c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      cloudbridge/cloud/base/events.py

+ 1 - 1
cloudbridge/cloud/base/events.py

@@ -130,7 +130,7 @@ class ExecutingEventHandler(InterceptingEventHandler):
         if next_handler:
             event_args['result'] = result
             next_handler.invoke(event_args, *args, **kwargs)
-            event_args.pop['result']
+            result = event_args.pop['result']
         return result