Bug 961643

Summary: mismatched naming/symbol of the librepo exception class
Product: [Fedora] Fedora Reporter: Ales Kozumplik <akozumpl>
Component: librepoAssignee: Tomas Mlcoch <tmlcoch>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 19CC: jzeleny, tmlcoch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-17 11:49:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.