removed a pdb that was left there... lingering

This commit is contained in:
Alfredo Deza
2010-11-18 12:04:17 -05:00
parent 307bb514c6
commit 06abd92951

View File

@@ -3,8 +3,7 @@ try:
except ImportError:
from simplejson import JSONEncoder
from datetime import datetime, date
from decimal import Decimal
from datetime import datetime
from webob.multidict import MultiDict
from simplegeneric import generic
@@ -26,8 +25,6 @@ def is_saobject(obj):
class GenericJSON(JSONEncoder):
def default(self, obj):
import pdb; pdb.set_trace()
if hasattr(obj, '__json__') and callable(obj.__json__):
return obj.__json__()
elif isinstance(obj, (datetime.date, datetime.datetime)):
@@ -74,4 +71,4 @@ def encode(obj):
except:
pass
"""Return a JSON string representation of a Python object."""
return _instance.encode(obj)
return _instance.encode(obj)