Commits

Sébastien Martinez committed c8d503e

Fixing refrence to objectsPool in eager conversion strategy

  • Participants
  • Parent commits 4ac268a
  • Branches enhanced_pypy

Comments (0)

Files changed (1)

File pymoult/heap/high_level.py

 
 from pymoult.heap.low_level import *
 from pymoult.heap.lazy import *
-from pymoult.collector import objectsPool
+import pymoult.collector 
 
 def start_lazy_update_class(from_class,to_class):
 	""" Enables lazy update of objects of the from_class to the to_class
 	""" Starts eager update of objects of the from_class to the to_class
 	"""
 	result = True
-	for ref in objectsPool.pool():
+	for ref in pymoult.collector.objectsPool.pool():
 		obj = ref()
 		if type(obj) == from_class:
 			result = result and update_object_to_class(obj,to_class)