Skip to content

Commit

Permalink
chg: usr: Allow platform to receive options
Browse files Browse the repository at this point in the history
  • Loading branch information
dajose authored and carlos-jenkins committed Jan 27, 2020
1 parent a85f69b commit 6ea956f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/topology_connect/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ConnectPlatform(BasePlatform):
FIXME: Document.
"""

def __init__(self, timestamp, nmlmanager):
def __init__(self, timestamp, nmlmanager, **kwargs):

self.node_loader = NodeLoader(
'connect', api_version='1.0', base_class=ConnectNode
Expand Down Expand Up @@ -105,7 +105,7 @@ def destroy(self):
for enode in self.nmlnode_node_map.values():
try:
enode.stop()
except:
except Exception:
log.error(format_exc())

def rollback(self, stage, enodes, exception):
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py34, coverage, doc
envlist = py27, py3, coverage, doc

[testenv]
passenv = http_proxy https_proxy
Expand All @@ -15,7 +15,7 @@ commands =
{envsitepackagesdir}/topology_connect

[testenv:coverage]
basepython = python3.4
basepython = python3
commands =
py.test \
--junitxml=tests.xml \
Expand Down

0 comments on commit 6ea956f

Please sign in to comment.