Hi Hieu,

Reviewed and tested.  
I am fine with the patch.

Thank you
Srinivas. 

-----Original Message-----
From: Hieu Nguyen [mailto:[email protected]] 
Sent: Tuesday, October 3, 2017 9:20 AM
To: [email protected]; [email protected]
Cc: [email protected]
Subject: [devel] [PATCH 1/1] pyosaf: Invalid exception used in ImmObject 
(object.py) [#1410]

---
 python/pyosaf/utils/immom/object.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyosaf/utils/immom/object.py 
b/python/pyosaf/utils/immom/object.py
index c2924d3..30cd63c 100644
--- a/python/pyosaf/utils/immom/object.py
+++ b/python/pyosaf/utils/immom/object.py
@@ -59,7 +59,7 @@ class ImmObject(object):
                 self.class_desc[class_name] = \
                     pyosaf.utils.immom.class_description_get(class_name)
         else:
-            raise
+            raise Exception("ERROR: class and attributes are None")
 
         self.__dict__["rdn_attribute"] = \
             pyosaf.utils.immom.get_rdn_attribute_for_class(class_name)
-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=JfwZbiSY19b5J19rDeSKt00rK2wWHkoCYtw6qH4qSnU&m=j7sZt0LSEPbft-gnTOtgRJgiyoK0Z3sKAOHxDU9kA4k&s=qlwc5Ynj91Sodhu7qAPwfJYu9uCSkcSxFxJSABwEXJA&e=
 
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_opensaf-2Ddevel&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=JfwZbiSY19b5J19rDeSKt00rK2wWHkoCYtw6qH4qSnU&m=j7sZt0LSEPbft-gnTOtgRJgiyoK0Z3sKAOHxDU9kA4k&s=rh98QhseayXfMopRIk8zfBwtxPwnb4uLTODxOCANvQQ&e=
 

------------------------------------------------------------------------------
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