diff options
author | hack <hack@stsci.edu> | 2011-04-07 16:55:34 -0400 |
---|---|---|
committer | hack <hack@stsci.edu> | 2011-04-07 16:55:34 -0400 |
commit | 04efb06273ad81aa7b8bfe015a610078fe9a9273 (patch) | |
tree | d096bb9314f39947f29cc2f9b9a7e605626e3f9e /wcsutil/wcscorr.py | |
parent | 2b4cab9ce484f6489fb6134de93b4d2f5d60ce94 (diff) | |
download | stwcs_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.py | 2 |
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 |