cubicweb/server/schemaserial.py
changeset 11763 39df042f4ab4
parent 11429 6a9a9ea1e9b9
child 11767 432f87a63057
--- a/cubicweb/server/schemaserial.py	Fri Sep 30 17:34:11 2016 +0200
+++ b/cubicweb/server/schemaserial.py	Fri Sep 30 17:39:17 2016 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2016 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -149,7 +149,7 @@
                     {'x': etype, 'n': netype})
             cnx.commit(False)
             tocleanup = [eid]
-            tocleanup += (eid for eid, cached in repo._type_source_cache.items()
+            tocleanup += (eid for eid, cached in repo._type_extid_cache.items()
                           if etype == cached[0])
             repo.clear_caches(tocleanup)
             cnx.commit(False)