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
1 changed files with 10 additions and 0 deletions

View File

@ -526,6 +526,16 @@ def 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 = {}