Remove invalid variable

pull/7145/head
npeters 11 years ago
parent 16874464e9
commit 61bb40c0dd

@ -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):

Loading…
Cancel
Save