showwarning hook wrong in /usr/lib/pymodules/python2.6/pyfits/NP_pyfits.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyfits (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
python-pyfits
in file: /usr/lib/
line 70:
----
_showwarning = warnings.
def showwarning(
if file is None:
file = sys.stdout
_showwarnin
def formatwarning(
return str(message)+'\n'
---
has to changed into:
_showwarning = warnings.
def showwarning(
if file is None:
file = sys.stdout
_showwarnin
def formatwarning(
return str(message)+'\n'
----
to follow descriptions of the module warnings !!
lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
apt-cache policy python-pyfits
python-pyfits:
Installiert: 1:1.3-3
Kandidat: 1:1.3-3
Versions-Tabelle:
*** 1:1.3-3 0
500 http://
100 /var/lib/
Urgent and more or less release critical because package is unusable ...
Cheers,
Oliver Cordes