Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

only mark deprecated api names for removal at major versions to ensur…

…e we are semver compatible - thanks @migurski - closes #1129
  • Loading branch information...
commit f374d01896e5f26c3f772db2c6f79123185f2e8d 1 parent 957c40f
@springmeyer springmeyer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bindings/python/mapnik/__init__.py
View
4 bindings/python/mapnik/__init__.py
@@ -67,13 +67,13 @@ def __init__(self, name, bases, dict):
_injector = _MapnikMetaclass('_injector', (object, ), {})
def Filter(*args,**kwargs):
- warnings.warn("'Filter' is deprecated and will be removed in Mapnik 2.0.1, use 'Expression' instead",
+ warnings.warn("'Filter' is deprecated and will be removed in Mapnik 3.x, use 'Expression' instead",
DeprecationWarning, 2)
return Expression(*args, **kwargs)
class Envelope(Box2d):
def __init__(self, *args, **kwargs):
- warnings.warn("'Envelope' is deprecated and will be removed in Mapnik 2.0.1, use 'Box2d' instead",
+ warnings.warn("'Envelope' is deprecated and will be removed in Mapnik 3.x, use 'Box2d' instead",
DeprecationWarning, 2)
Box2d.__init__(self, *args, **kwargs)
Please sign in to comment.
Something went wrong with that request. Please try again.