Merge pull request #7145 from npeters/devel

Remove invalid variable
This commit is contained in:
Michael DeHaan 2014-04-23 20:22:34 -04:00
commit 58caeb7e8c

View file

@ -127,6 +127,7 @@ class Ec2Metadata(object):
for (key, value) in data.items():
if ':' in key or '-' in key:
newkey = key.replace(':','_').replace('-','_')
del data[key]
data[newkey] = value
def add_ec2_region(self, data):