diff options
Diffstat (limited to 'dev-python/astropy/files/astropy-1.1.1-fix-wcs.patch')
-rw-r--r-- | dev-python/astropy/files/astropy-1.1.1-fix-wcs.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/dev-python/astropy/files/astropy-1.1.1-fix-wcs.patch b/dev-python/astropy/files/astropy-1.1.1-fix-wcs.patch deleted file mode 100644 index efb12737c19..00000000000 --- a/dev-python/astropy/files/astropy-1.1.1-fix-wcs.patch +++ /dev/null @@ -1,15 +0,0 @@ -Author: Kacper Kowalik <xarthisius.kk@gmail.com> -Description: Copy keys to a list, since orignal map is modified -Url: https://github.com/astropy/astropy/issues/4477 -Bug: https://github.com/astropy/astropy/issues/4460 ---- a/astropy/wcs/wcs.py -+++ b/astropy/wcs/wcs.py -@@ -988,7 +988,7 @@ - """ - # Never pass SIP coefficients to wcslib - # CTYPE must be passed with -SIP to wcslib -- for key in (m.group() for m in map(SIP_KW.match, header.keys()) -+ for key in (m.group() for m in map(SIP_KW.match, list(header)) - if m is not None): - del header[key] - |