Skip to content

Commit

Permalink
AVRO-527. Undefined variable "schm" error (hammer via Esteve Fernandez)
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.3@950154 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Jeffrey Evan Hammerbacher committed Jun 1, 2010
1 parent 4b6626b commit 1b1f724
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Avro 1.3.3 (Unreleased)

AVRO-496. python sample_http_client.py is broken (Jeff Hodges via hammer)

AVRO-527. Undefined variable "schm" error (Esteve Fernandez via hammer)

Avro 1.3.2 (31 March 2010)

IMPROVEMENTS
Expand Down
2 changes: 1 addition & 1 deletion lang/py/src/avro/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def skip_data(self, writers_schema, decoder):
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):
Expand Down

0 comments on commit 1b1f724

Please sign in to comment.