1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixed syntax error and removed unused imports

This commit is contained in:
Levi Gross 2013-12-25 11:04:47 -05:00
parent c44b876c82
commit dc6a26123b
No known key found for this signature in database
GPG key ID: 3BE5CE0578FE75B7

View file

@ -15,8 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
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)