- **status**: unassigned --> accepted
- **assigned_to**: Hieu Nguyen
- **Blocker**: --> False
- **Comment**:
In progress
---
** [tickets:#1410] pyosaf: Invalid exception used in ImmObject (object.py)**
**Status:** accepted
**Milestone:** future
**Created:** Fri Jul 10, 2015 10:11 AM UTC by Johan MÃ¥rtensson
**Last Updated:** Tue Sep 20, 2016 06:04 PM UTC
**Owner:** Hieu Nguyen
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
~~~~
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets