projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix wrong usage of `isinstance`
[osm/RO.git]
/
osm_ro
/
vim_thread.py
diff --git
a/osm_ro/vim_thread.py
b/osm_ro/vim_thread.py
index
57ced9c
..
8d44f47
100644
(file)
--- a/
osm_ro/vim_thread.py
+++ b/
osm_ro/vim_thread.py
@@
-1003,7
+1003,9
@@
class vim_thread(threading.Thread):
net_name = params[0]
net_type = params[1]
net_name = params[0]
net_type = params[1]
- wim_account_name = params[3]
+ wim_account_name = None
+ if len(params) >= 4:
+ wim_account_name = params[3]
sdn_controller = self.vim.config.get('sdn-controller')
if sdn_controller and (net_type == "data" or net_type == "ptp"):
sdn_controller = self.vim.config.get('sdn-controller')
if sdn_controller and (net_type == "data" or net_type == "ptp"):