summaryrefslogtreecommitdiff
path: root/lib/stwcs/updatewcs/npol.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2014-04-30 17:00:15 -0400
committerdencheva <dencheva@stsci.edu>2014-04-30 17:00:15 -0400
commite2041048d7b03b0a8d9557863a1cfb32592fab1a (patch)
tree622250362c2bd8fb626f07b758576b2941edaf4e /lib/stwcs/updatewcs/npol.py
parent80b187da718b44907ed490e00d149e11b8085253 (diff)
downloadstwcs_hcf-e2041048d7b03b0a8d9557863a1cfb32592fab1a.tar.gz
deal with pyfits/wcs deprecation wrnings
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31259 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/updatewcs/npol.py')
-rw-r--r--lib/stwcs/updatewcs/npol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stwcs/updatewcs/npol.py b/lib/stwcs/updatewcs/npol.py
index 9346439..0427b61 100644
--- a/lib/stwcs/updatewcs/npol.py
+++ b/lib/stwcs/updatewcs/npol.py
@@ -159,7 +159,7 @@ class NPOLCorr(object):
before_key = None
for key in keys:
- hdr.update(key=key, value=values[key], comment=comments[key], before=before_key)
+ hdr.set(key, value=values[key], comment=comments[key], before=before_key)
addSciExtKw = classmethod(addSciExtKw)