misc/migration/3.5.10_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 24 Jun 2013 11:59:45 +0200
changeset 9033 614bf73cc126
parent 8798 cdab3aadc679
permissions -rw-r--r--
[service] drop the asynchronous execution possibility Call_service was able of both sync and sync execution making the API confusing. There is not user of the async case. We drop the async argument in favor of synchronous execution only. This makes call_service the official API to call server side code from the client side. This is a remplacement for the usual monkey patching of the repo object. The zmq notification bus is a solid alternative for codes that needs to start an async execution.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8798
cdab3aadc679 [migration] mark all version prior 3.7 as non-migrable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 3977
diff changeset
     1
raise NotImplementedError("Cannot migrate such an old version. Use intermediate Cubiweb version (try 3.16.x)")