web/__init__.py
changeset 2613 5e19c2bb370e
parent 1977 606923dff11b
child 2788 8d3dbe577d3a
child 2934 cf4d39416fca
--- a/web/__init__.py	Fri Jul 31 19:18:33 2009 +0200
+++ b/web/__init__.py	Fri Jul 31 22:37:28 2009 +0200
@@ -14,7 +14,7 @@
 from datetime import datetime, date, timedelta
 from simplejson import dumps
 
-from logilab.common.deprecation import obsolete
+from logilab.common.deprecation import deprecated
 
 from cubicweb.common.uilib import urlquote
 from cubicweb.web._exceptions import *
@@ -65,7 +65,7 @@
         return json_dumps(function(*args, **kwargs))
     return newfunc
 
-@obsolete('use req.build_ajax_replace_url() instead')
+@deprecated('use req.build_ajax_replace_url() instead')
 def ajax_replace_url(nodeid, rql, vid=None, swap=False, **extraparams):
     """builds a replacePageChunk-like url
     >>> ajax_replace_url('foo', 'Person P')