server/test/data/site_cubicweb.py
changeset 4848 41f84eea63c9
parent 4832 98c7760b7e9a
child 5421 8167de96c523
equal deleted inserted replaced
4847:9466604ef448 4848:41f84eea63c9
     4 :copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     4 :copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     7 """
     7 """
     8 
     8 
     9 from logilab.db import FunctionDescr
     9 from logilab.database import FunctionDescr
    10 from logilab.db.sqlite import register_sqlite_pyfunc
    10 from logilab.database.sqlite import register_sqlite_pyfunc
    11 from rql.utils import register_function
    11 from rql.utils import register_function
    12 
    12 
    13 try:
    13 try:
    14     class DUMB_SORT(FunctionDescr):
    14     class DUMB_SORT(FunctionDescr):
    15         supported_backends = ('sqlite',)
    15         supported_backends = ('sqlite',)