server/sources/pyrorql.py
branchstable
changeset 6128 fbb8398f80dc
parent 6058 151b6b73acc6
child 6130 15fa8425b6e7
equal deleted inserted replaced
6127:747e423093fc 6128:fbb8398f80dc
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    14 # details.
    14 # details.
    15 #
    15 #
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    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 """
       
    21 __docformat__ = "restructuredtext en"
    20 __docformat__ = "restructuredtext en"
    22 
    21 
    23 import threading
    22 import threading
    24 from os.path import join
    23 from os.path import join
    25 from time import mktime
    24 from time import mktime
    56     # modified in this source
    55     # modified in this source
    57     should_call_hooks = False
    56     should_call_hooks = False
    58     # boolean telling if the repository should connect to this source during
    57     # boolean telling if the repository should connect to this source during
    59     # migration
    58     # migration
    60     connect_for_migration = False
    59     connect_for_migration = False
    61 
       
    62     support_entities = None
       
    63 
    60 
    64     options = (
    61     options = (
    65         # XXX pyro-ns host/port
    62         # XXX pyro-ns host/port
    66         ('pyro-ns-id',
    63         ('pyro-ns-id',
    67          {'type' : 'string',
    64          {'type' : 'string',