Remove created_at, updated_at and deleted_at from instance_type dict returned by methods in sqlalchemy API.
This commit is contained in:
Yuriy Taraday 2011-06-25 19:38:07 +00:00 committed by Tarmac
commit 8a8c013cd4

View File

@ -526,6 +526,16 @@ def loads(s):
return json.loads(s) return json.loads(s)
try:
import anyjson
except ImportError:
pass
else:
anyjson._modules.append(("nova.utils", "dumps", TypeError,
"loads", ValueError))
anyjson.force_implementation("nova.utils")
_semaphores = {} _semaphores = {}