From 43ac7a7984e192266ddb2e0e67657f028093d637 Mon Sep 17 00:00:00 2001 From: npeters Date: Thu, 24 Apr 2014 01:12:55 +0200 Subject: [PATCH] Remove invalid variable --- cloud/ec2_facts | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud/ec2_facts b/cloud/ec2_facts index 3fade4d1a05..f6d8d557721 100644 --- a/cloud/ec2_facts +++ b/cloud/ec2_facts @@ -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):