[cnxset] add backwards compat for cnxset.source_cnxs
It's used at least in a vcsfile migration script.
--- a/server/pool.py Wed Jan 22 15:49:32 2014 +0100
+++ b/server/pool.py Wed Jan 22 15:35:13 2014 +0100
@@ -112,6 +112,11 @@
assert uid == 'system'
return self.cnx
+ @property
+ @deprecated('[3.19] use .cnx instead')
+ def source_cnxs(self):
+ return {'system': (self._source, self.cnx)}
+
from cubicweb.server.hook import Operation, LateOperation, SingleLastOperation
from logilab.common.deprecation import class_moved, class_renamed