--- 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')