boto/boto — pull request #2548 by cshanes (2014-08-22 19:06:03+00:00)
Title: Assigning ACL ID to network_acl_id  instead of route_table_id

In the endElement method, in NetworkAclAssociation, the networkAclId is getting assigned to the variable self.route_table_id instead of self.network_acl_id. NetworkAclAssociations should not have a route_table_id variable.

To reproduce this issue:
1. Create a subnet and ACL from the AWS console
2. Create an association between the subnet and ACL
3. Run this code:

conn = boto.vpc.connect_to_region('us-east-1')
acls = conn.get_all_network_acls()

for acl in acls:
print acl.association.route_table_id #prints the ACL id
print acl.association.network_acl_id #prints None

The associated ACL ID will be printed out when printing the variable route_table_id, and the network_acl_id variable is empty

Using python 2.7.5 and boto 2.23.1