Skip to content

Commit

Permalink
Fix a Task's logging call in assembleCcdTask.py
Browse files Browse the repository at this point in the history
The API has changed for logging.
  • Loading branch information
Hsin-Fang Chiang committed Sep 16, 2016
1 parent 625803c commit 6d82199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ip/isr/assembleCcdTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def setWcs(self, outExposure, inExposure):
cameraGeomUtils.prepareWcsData(wcs, amp0, isTrimmed=self.config.doTrim)
outExposure.setWcs(wcs)
else:
self.log.log(self.log.WARN, "No WCS found in input exposure")
self.log.warn("No WCS found in input exposure")

def setGain(self, outExposure):
"""Renormalize, if requested, and set gain metadata
Expand Down

0 comments on commit 6d82199

Please sign in to comment.