From dc6a26123be77359cff8cb972ccf2d9c50bd9c7c Mon Sep 17 00:00:00 2001 From: Levi Gross Date: Wed, 25 Dec 2013 11:04:47 -0500 Subject: [PATCH] Fixed syntax error and removed unused imports --- lib/ansible/runner/lookup_plugins/etcd.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ansible/runner/lookup_plugins/etcd.py b/lib/ansible/runner/lookup_plugins/etcd.py index 04508cdfff0..07adec80297 100644 --- a/lib/ansible/runner/lookup_plugins/etcd.py +++ b/lib/ansible/runner/lookup_plugins/etcd.py @@ -15,8 +15,7 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . -from ansible import utils, errors, constants -import os +from ansible import utils import urllib2 try: import json @@ -27,7 +26,7 @@ except ImportError: ANSIBLE_ETCD_URL = 'http://127.0.0.1:4001' class etcd(): - def __init__(self, url=ANSIBLE_ETCD_URL) + def __init__(self, url=ANSIBLE_ETCD_URL): self.url = url self.baseurl = '%s/v1/keys' % (self.url)