boto/botocore — pull request #344 by wjoel (2014-10-08 11:23:31+00:00)
Title: Fix BaseXMLResponseParser._handle_map to not crash

key_name and val_name are set inside of the loop over
keyval_node pairs. parsed[key_name] = val_name should
also be in that loop.

The crash is caused by key_name and val_name being
referenced from outside of the loop, where they may be
used before they have been set.