summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/jsonutils.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/openstack/common/jsonutils.py b/openstack/common/jsonutils.py
index 1ea7755..04ffba0 100644
--- a/openstack/common/jsonutils.py
+++ b/openstack/common/jsonutils.py
@@ -38,14 +38,10 @@ import functools
import inspect
import itertools
import json
-import logging
import xmlrpclib
-from openstack.common.gettextutils import _
from openstack.common import timeutils
-LOG = logging.getLogger(__name__)
-
def to_primitive(value, convert_instances=False, convert_datetime=True,
level=0, max_depth=3):
@@ -85,8 +81,6 @@ def to_primitive(value, convert_instances=False, convert_datetime=True,
return 'mock'
if level > max_depth:
- LOG.error(_('Max serialization depth exceeded on object: %d %s'),
- level, value)
return '?'
# The try block may not be necessary after the class check above,