Skip to content

Commit

Permalink
2.4.2; +init FutureWarning to stacklevel=2
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Nov 30, 2019
1 parent 4a67e79 commit f417627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproj/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """
__version__ = "2.4.2.rc0"
__version__ = "2.4.2"
__all__ = [
"Proj",
"Geod",
Expand Down
1 change: 1 addition & 0 deletions pyproj/crs.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def _prepare_from_string(in_crs_string):
"'+init=<authority>:<code>' syntax is deprecated."
" '<authority>:<code>' is the preferred initialization method.",
FutureWarning,
stacklevel=2,
)
return in_crs_string

Expand Down

0 comments on commit f417627

Please sign in to comment.