From 04efb06273ad81aa7b8bfe015a610078fe9a9273 Mon Sep 17 00:00:00 2001 From: hack Date: Thu, 7 Apr 2011 20:55:34 +0000 Subject: 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 --- wcsutil/wcscorr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wcsutil/wcscorr.py') 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 -- cgit