On Aug. 29, 2013, 6:42 a.m., Radek Novacek wrote:
> cli/lmi/shell/LMIExceptions.py, lines 85-87
>
<
http://reviewboard-openlmi.rhcloud.com/r/777/diff/1/?file=4356#file4356li...
>
> Is it even possible to have two constructors with different argument in Python?
It doesn't work for me.
Thanks, you're right! Not even slightest warning about it! Argh, python ...
- Michal
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/777/#review1013
-----------------------------------------------------------
On Aug. 29, 2013, 6:23 a.m., Michal Minar wrote:
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/777/
-----------------------------------------------------------
(Updated Aug. 29, 2013, 6:23 a.m.)
Review request for OpenLMI Developers.
Repository: openlmi-tools
Description
-------
added 2 exceptions to clarify attribute access errors
When accessing not registered class from namespace or not existing
part of namespace, an AttributeError was raised. Which is confusing.
Now LMIClassNotFound or LMINamespaceNotFound raised instead with
more descriptive information.
Diffs
-----
cli/lmi/shell/LMIExceptions.py e2812077530879643aabfeed6571773c37f939f7
cli/lmi/shell/LMINamespace.py e63cc29a0beeefab6386c6f79171bc8996a122b7
Diff:
http://reviewboard-openlmi.rhcloud.com/r/777/diff/
Testing
-------
Thanks,
Michal Minar