#70: Python error in bibtask.py
-----------------------+----------------------------------------------------
  Reporter:  bthiell   |       Owner:        
      Type:  defect    |      Status:  closed
  Priority:  major     |   Milestone:        
 Component:  BibSched  |     Version:        
Resolution:  invalid   |    Keywords:        
-----------------------+----------------------------------------------------
Changes (by skaplun):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 This is a false positive from pylint (also confirmed by the - "but some
 types could not be inferred").

 Indeed at line 312 there is a sys.stdout.getvalue(), but two lines before
 sys.stdout is assigned with StringIO() (that is a trick to capture the
 whole output of print_stats.

 On the other hand we might wish to find all the places where such an false
 positive error is raised by Pylint, and after prior confirmation of the
 code being good, we can turn off the spefic Pylint check...

-- 
Ticket URL: <http://invenio-software.org/ticket/70#comment:1>
Invenio <http://invenio-software.org>

Reply via email to