avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ham...@apache.org
Subject svn commit: r942024 - in /hadoop/avro/trunk: CHANGES.txt lang/py/src/avro/io.py
Date Fri, 07 May 2010 08:03:12 GMT
Author: hammer
Date: Fri May  7 08:03:11 2010
New Revision: 942024

URL: http://svn.apache.org/viewvc?rev=942024&view=rev
Log:
AVRO-527. Undefined variable "schm" error (hammer via Esteve Fernandez)


Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/lang/py/src/avro/io.py

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=942024&r1=942023&r2=942024&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Fri May  7 08:03:11 2010
@@ -57,6 +57,8 @@ Avro 1.4.0 (unreleased)
 
     AVRO-524. DataFileWriter.appendTo leads to intermittent IOException during write() (thiru)
 
+    AVRO-527. Undefined variable "schm" error (hammer via Esteve Fernandez)
+
 Avro 1.3.2 (31 March 2010)
 
   IMPROVEMENTS

Modified: hadoop/avro/trunk/lang/py/src/avro/io.py
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/py/src/avro/io.py?rev=942024&r1=942023&r2=942024&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/py/src/avro/io.py (original)
+++ hadoop/avro/trunk/lang/py/src/avro/io.py Fri May  7 08:03:11 2010
@@ -487,7 +487,7 @@ class DatumReader(object):
     elif writers_schema.type in ['record', 'error', 'request']:
       return self.skip_record(writers_schema, decoder)
     else:
-      fail_msg = "Unknown schema type: %s" % schm.type
+      fail_msg = "Unknown schema type: %s" % writers_schema.type
       raise schema.AvroException(fail_msg)
 
   def read_fixed(self, writers_schema, readers_schema, decoder):



Mime
View raw message