Commit 89ec2e13 authored by Antoine Catton's avatar Antoine Catton

Remove unused and stupid try, catch. My mistake.

parent b70edc75
...@@ -194,10 +194,7 @@ class Server(Connector): ...@@ -194,10 +194,7 @@ class Server(Connector):
self._master_url = self._url.geturl() self._master_url = self._url.geturl()
else: else:
try: self._master_url = master_url
self._master_url = master_url
except IndexError:
self._master_url = self.do_master_election()
else: else:
try: try:
Server._conver_uuid(Connector(self._master_url).GET('id').read()) Server._conver_uuid(Connector(self._master_url).GET('id').read())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment