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