skymill/aws-ec2-assign-elastic-ip — pull request #9 by haraldsk (2014-08-27 11:03:31+00:00)
Title: Convert IP to string before comparing to avoid unicode issues.

This matching fails on Centos 6.5 due to the address variable beeing passed in as unicode.

Added a fix which works for me.
```
logger.debug( '"{0}"({1}) == "{2}({3})"'.format( ip, type(ip), address, type(address) ) )
if str(ip) == str(address):
return True
```
Will result in:

`"54.77.xx.xx"() == "54.77.xx.xx()"`