Bug 961643 - mismatched naming/symbol of the librepo exception class
Summary: mismatched naming/symbol of the librepo exception class
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: librepo
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-10 07:27 UTC by Ales Kozumplik
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-17 11:49:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2013-05-10 07:27:15 UTC
Description of problem:

Suppose the following:

>>> import librepo
>>> raise librepo.LibrepoException(3,3,4)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
_librepo.Exception: (3, 3, 4)
>>> 

Notice that for the programmer the exception is called 'librepo.LibrepoException' yet the traceback reports it simply as _librepo.Exception. These two should be the same.

Comment 1 Ales Kozumplik 2013-05-10 07:34:58 UTC
for a real life example of such a traceback see bug 961549 comment 0.


Note You need to log in before you can comment on or make changes to this bug.