--- a/web/__init__.py Thu Aug 12 15:58:42 2010 +0200
+++ b/web/__init__.py Thu Aug 12 16:50:52 2010 +0200
@@ -28,6 +28,7 @@
from cubicweb.web._exceptions import *
from cubicweb.utils import json_dumps
+from cubicweb.uilib import eid_param
dumps = deprecated('[3.9] use cubicweb.utils.json_dumps instead of dumps')(json_dumps)
@@ -44,13 +45,6 @@
NO = (_('no'), None)
-def eid_param(name, eid):
- assert eid is not None
- if eid is None:
- eid = ''
- return '%s:%s' % (name, eid)
-
-
from logging import getLogger
LOGGER = getLogger('cubicweb.web')