ImmObject uses an invalid way to raise exceptions:
>>> a = ImmObject('NonExistingClass') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/pyosaf/utils/immom/object.py", line 63, in __init__ raise TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
In progress
Solution:
+ ImmObject use exceptions raise without NoneType
Last edit: Hieu Nguyen 2017-10-03
commit e7fb995f41a4bfabe3d1e48bda3ba004e2935074 (HEAD -> develop, origin/develop)
Author: Hieu Nguyen hi..@..au
Date: Tue Oct 3 10:37:20 2017 +0700