#745: BibCatalog: investigate kwalitee report
------------------------+-----------------
Reporter: jlavik | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: BibCatalog | Version:
Keywords: |
------------------------+-----------------
Doing a kwalitee check on ./modules/bibcatalog/lib/bibcatalog_system_rt.py
revealed a possible bug in bibcatalog_system_rt.ticket_search that should
be further investigated.
{{{modules/bibcatalog/lib/bibcatalog_system_rt.py:175: [W,
BibCatalogSystemRT.ticket_search] Unused variable 'inum'}}}
It seems that the casted integer is not used, while it possibly should be:
{{{
try:
inum = int(tnum)
tickets.append(tnum)
except:
pass
}}}
--
Ticket URL: <http://invenio-software.org/ticket/745>
Invenio <http://invenio-software.org>