server/sources/pyrorql.py
changeset 9402 2c48c091b6a2
parent 9374 1236d9058ad3
equal deleted inserted replaced
9127:aff75b69db92 9402:2c48c091b6a2
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """Source to query another RQL repository using pyro"""
    18 """Source to query another RQL repository using pyro"""
    19 
    19 
    20 __docformat__ = "restructuredtext en"
    20 __docformat__ = "restructuredtext en"
    21 _ = unicode
    21 _ = unicode
       
    22 
       
    23 # module is lazily imported
       
    24 import warnings
       
    25 warnings.warn('Imminent drop of pyrorql source. Switch to datafeed now!',
       
    26               DeprecationWarning)
    22 
    27 
    23 import threading
    28 import threading
    24 from Pyro.errors import PyroError, ConnectionClosedError
    29 from Pyro.errors import PyroError, ConnectionClosedError
    25 
    30 
    26 from cubicweb import ConnectionError
    31 from cubicweb import ConnectionError