equal
deleted
inserted
replaced
5 :organization: Logilab |
5 :organization: Logilab |
6 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
6 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
7 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
7 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
8 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
8 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
9 """ |
9 """ |
|
10 |
|
11 applcubicwebversion, cubicwebversion = versions_map['cubicweb'] |
10 |
12 |
11 if applcubicwebversion < (3, 2, 2) and cubicwebversion >= (3, 2, 1): |
13 if applcubicwebversion < (3, 2, 2) and cubicwebversion >= (3, 2, 1): |
12 from base64 import b64encode |
14 from base64 import b64encode |
13 for table in ('entities', 'deleted_entities'): |
15 for table in ('entities', 'deleted_entities'): |
14 for eid, extid in sql('SELECT eid, extid FROM %s WHERE extid is NOT NULL' |
16 for eid, extid in sql('SELECT eid, extid FROM %s WHERE extid is NOT NULL' |