Fixed syntax error and removed unused imports

pull/5420/head
Levi Gross 11 years ago
parent c44b876c82
commit dc6a26123b
No known key found for this signature in database
GPG Key ID: 3BE5CE0578FE75B7

@ -15,8 +15,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from ansible import utils, errors, constants from ansible import utils
import os
import urllib2 import urllib2
try: try:
import json import json
@ -27,7 +26,7 @@ except ImportError:
ANSIBLE_ETCD_URL = 'http://127.0.0.1:4001' ANSIBLE_ETCD_URL = 'http://127.0.0.1:4001'
class etcd(): class etcd():
def __init__(self, url=ANSIBLE_ETCD_URL) def __init__(self, url=ANSIBLE_ETCD_URL):
self.url = url self.url = url
self.baseurl = '%s/v1/keys' % (self.url) self.baseurl = '%s/v1/keys' % (self.url)

Loading…
Cancel
Save