summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extras.py')
-rw-r--r--lib/extras.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/extras.py b/lib/extras.py
index fe74d38..a9f5b44 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -686,6 +686,11 @@ def register_inet(oid=None, conn_or_curs=None):
:param conn_or_curs: where to register the typecaster. If not specified,
register it globally.
"""
+ import warnings
+ warnings.warn(
+ "the inet adapter is deprecated, it's not very useful",
+ DeprecationWarning)
+
if not oid:
oid1 = 869
oid2 = 1041