Fix project delete failures
[osm/SO.git] / rwlaunchpad / plugins / rwvnfm / rift / tasklets / rwvnfmtasklet / rwvnfmtasklet.py
index 955f566..a6277f1 100755 (executable)
@@ -2025,8 +2025,9 @@ class VnfdDtsHandler(object):
         @asyncio.coroutine
         def on_prepare(dts, acg, xact, xact_info, ks_path, msg, scratch):
             """ on prepare callback """
-            self._log.debug("Got on prepare for VNFD (path: %s) (action: %s)",
-                            ks_path.to_xpath(RwVnfmYang.get_schema()), msg)
+            self._log.debug("Got on prepare for VNFD (path: %s) (action: %s) (msg: %s)",
+                            ks_path.to_xpath(RwVnfmYang.get_schema()),
+                            xact_info.query_action, msg)
             fref = ProtobufC.FieldReference.alloc()
             fref.goto_whole_message(msg.to_pbcm())
 
@@ -2621,7 +2622,7 @@ class VnfManager(object):
     def deregister(self):
         self.log.debug("De-register VNFM project {}".format(self.name))
         for hdl in self._dts_handlers:
-            yield from hdl.deregister()
+            hdl.deregister()
 
     @asyncio.coroutine
     def run(self):