aboutsummaryrefslogtreecommitdiff
path: root/astro/py-RO/files/patch-tools-fitsinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'astro/py-RO/files/patch-tools-fitsinfo.py')
-rw-r--r--astro/py-RO/files/patch-tools-fitsinfo.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/astro/py-RO/files/patch-tools-fitsinfo.py b/astro/py-RO/files/patch-tools-fitsinfo.py
new file mode 100644
index 000000000000..0cc4adc15424
--- /dev/null
+++ b/astro/py-RO/files/patch-tools-fitsinfo.py
@@ -0,0 +1,11 @@
+--- tools/fitsinfo.py.orig 2014-09-18 18:19:45 UTC
++++ tools/fitsinfo.py
+@@ -2,7 +2,7 @@
+ from __future__ import absolute_import, division, print_function
+ import argparse
+ import numpy
+-import pyfits
++import astropy.io.fits as pyfits
+
+ def fitsInfo(filePath, hduList=None, showHeader=True, showStats=True):
+ """Print information about a FITS file