Merge "Fixing 2 typos in comments"

This commit is contained in:
Jenkins 2015-08-28 09:24:06 +00:00 committed by Gerrit Code Review
commit f851209787

View File

@ -107,11 +107,11 @@ class JsonType(wtypes.UserType):
return value
def frombasetype(self, value):
# Value must a string.
# Value must be a string.
return json.loads(value) if value is not None else None
def tobasetype(self, value):
# Value must a dict.
# Value must be a dict.
return json.dumps(value) if value is not None else None