Ack, not tested.

regards,

Anders Widell


On 10/02/2017 10:50 AM, Hieu Nguyen wrote:
+ Remove a preceding underscore character of the initialize method in immom
+ Does not automatically called initialize() when the module is implemented
---
  python/pyosaf/utils/immom/__init__.py | 5 +----
  1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/python/pyosaf/utils/immom/__init__.py 
b/python/pyosaf/utils/immom/__init__.py
index 9bce20d..09370c8 100644
--- a/python/pyosaf/utils/immom/__init__.py
+++ b/python/pyosaf/utils/immom/__init__.py
@@ -72,7 +72,7 @@ saImmOmAdminOperationContinue = 
decorate(saImmOm.saImmOmAdminOperationContinue)
  saImmOmAdminOperationContinueAsync = 
decorate(saImmOm.saImmOmAdminOperationContinueAsync)
  saImmOmAdminOperationContinuationClear = 
decorate(saImmOm.saImmOmAdminOperationContinuationClear)
-def _initialize():
+def initialize():
      ''' saImmOmInitialize with TRYAGAIN handling '''
      version = SaVersionT('A', 2, 15)
@@ -122,9 +122,6 @@ def get(object_name, attr_name_list=None, class_name=None): return ImmObject(object_name, attribs) -# initialize handles needed when module is loaded
-_initialize()
-
def class_description_get(class_name):
      ''' get class description as a python list '''


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to