Skip to content

Commit

Permalink
Fix deprecation warning in makeVisitInfo
Browse files Browse the repository at this point in the history
makeVisitInfo was deprecated but contained an outdated warning
that it was going to be deprecated. Update the message.
  • Loading branch information
r-owen committed Mar 17, 2017
1 parent 90f791c commit 3215f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/afw/image/makeVisitInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
def makeVisitInfo(**kwargs):
"""Make a VisitInfo from keyword arguments
This function will be replaced by a VisitInfo constructor once we switch to pybind11
(it is too much hassle with SWIG).
@deprecated This function is superseded by a VisitInfo constructor with the same call signature.
Calling this function will create a VisitInfo, but it will also print a deprecation warning.
@param[in] exposureId exposure ID (int, defaults to 0)
@param[in] exposureTime exposure duration (shutter open time); (float, sec, defaults to NaN)
Expand Down

0 comments on commit 3215f80

Please sign in to comment.