avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r791443 - in /hadoop/avro/trunk: CHANGES.txt src/py/avro/schema.py
Date Mon, 06 Jul 2009 11:27:01 GMT
Author: sharad
Date: Mon Jul  6 11:27:01 2009
New Revision: 791443

URL: http://svn.apache.org/viewvc?rev=791443&view=rev
Log:
AVRO-73. Workaround in python to fix simplejson bug on Mac OS.

Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/src/py/avro/schema.py

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=791443&r1=791442&r2=791443&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Mon Jul  6 11:27:01 2009
@@ -137,3 +137,5 @@
     AVRO-70. Add license header to json_schema.y.  (Matt Massie via cutting)
 
     AVRO-74. Add missing license headers in C++.  (cutting)
+
+    AVRO-73. Workaround in python to fix simplejson bug on Mac OS. (sharad)

Modified: hadoop/avro/trunk/src/py/avro/schema.py
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/src/py/avro/schema.py?rev=791443&r1=791442&r2=791443&view=diff
==============================================================================
--- hadoop/avro/trunk/src/py/avro/schema.py (original)
+++ hadoop/avro/trunk/src/py/avro/schema.py Mon Jul  6 11:27:01 2009
@@ -449,7 +449,7 @@
   pass
 
 def _parse(obj, names):
-  if isinstance(obj, unicode):
+  if isinstance(obj, basestring):
     schema = names.get(obj)
     if schema is not None:
       return schema



Mime
View raw message