summaryrefslogtreecommitdiff
path: root/wcsutil/wcscorr.py
diff options
context:
space:
mode:
authorhack <hack@stsci.edu>2011-04-07 16:55:34 -0400
committerhack <hack@stsci.edu>2011-04-07 16:55:34 -0400
commit04efb06273ad81aa7b8bfe015a610078fe9a9273 (patch)
treed096bb9314f39947f29cc2f9b9a7e605626e3f9e /wcsutil/wcscorr.py
parent2b4cab9ce484f6489fb6134de93b4d2f5d60ce94 (diff)
downloadstwcs_hcf-04efb06273ad81aa7b8bfe015a610078fe9a9273.tar.gz
Corrected a syntax problem with one of the new exception calls in 'update_wcscorr'.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12402 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/wcscorr.py')
-rw-r--r--wcsutil/wcscorr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsutil/wcscorr.py b/wcsutil/wcscorr.py
index ccc1fb7..d5f1de4 100644
--- a/wcsutil/wcscorr.py
+++ b/wcsutil/wcscorr.py
@@ -255,7 +255,7 @@ def update_wcscorr(dest, source=None, extname='SCI', wcs_id=None):
break
else:
raise ValueError('A WCS with name %s was not found in the %s '
- '%s extension headers in the source HDU list.'
+ 'extension headers in the source HDU list.'
% (wcs_id, extname))
wcs_keys = [wcs_key] # We're only interested in this one