avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ham...@apache.org
Subject svn commit: r906393 - in /hadoop/avro/trunk: CHANGES.txt lang/py/src/avro/datafile.py
Date Thu, 04 Feb 2010 08:11:43 GMT
Author: hammer
Date: Thu Feb  4 08:11:43 2010
New Revision: 906393

URL: http://svn.apache.org/viewvc?rev=906393&view=rev
Log:
AVRO-397: Whitespace change and comment clarification in datafile.py


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

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=906393&r1=906392&r2=906393&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Thu Feb  4 08:11:43 2010
@@ -289,6 +289,8 @@
 
     AVRO-395. Add a cscope Makefile target (Eli Collins via massie)
 
+    AVRO-397. Whitespace change and comment clarification in datafile.py (hammer)
+
   OPTIMIZATIONS
 
     AVRO-172. More efficient schema processing (massie)

Modified: hadoop/avro/trunk/lang/py/src/avro/datafile.py
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/py/src/avro/datafile.py?rev=906393&r1=906392&r2=906393&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/py/src/avro/datafile.py (original)
+++ hadoop/avro/trunk/lang/py/src/avro/datafile.py Thu Feb  4 08:11:43 2010
@@ -150,6 +150,7 @@
 
       # Write length of block
       self.encoder.write_long(len(compressed_data))
+
       # Write block
       self.writer.write(compressed_data)
 
@@ -279,7 +280,7 @@
       self._datum_decoder = self._raw_decoder
     else:
       # Compressed data is stored as (length, data), which
-      # corresponds to have bytes is stored.
+      # corresponds to how the "bytes" type is encoded.
       data = self.raw_decoder.read_bytes()
       # -15 is the log of the window size; negative indicates
       # "raw" (no zlib headers) decompression.  See zlib.h.



Mime
View raw message