Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
cb917696
Commit
cb917696
authored
3 years ago
by
Taya Snijder
Browse files
Options
Downloads
Patches
Plain Diff
changed set_pass_func function calls in arguments
parent
b9212852
No related branches found
No related tags found
1 merge request
!32
Resolve L2SS-216 "2021 05 17 branched from master sdp hotfix"
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
devices/APSCTL.py
+1
-1
1 addition, 1 deletion
devices/APSCTL.py
devices/PCC.py
+1
-1
1 addition, 1 deletion
devices/PCC.py
devices/SDP.py
+3
-2
3 additions, 2 deletions
devices/SDP.py
devices/SNMP.py
+1
-1
1 addition, 1 deletion
devices/SNMP.py
devices/ini_device.py
+1
-1
1 addition, 1 deletion
devices/ini_device.py
with
7 additions
and
6 deletions
devices/APSCTL.py
+
1
−
1
View file @
cb917696
...
@@ -167,7 +167,7 @@ class APSCTL(hardware_device):
...
@@ -167,7 +167,7 @@ class APSCTL(hardware_device):
i
.
set_comm_client
(
self
.
OPCua_client
)
i
.
set_comm_client
(
self
.
OPCua_client
)
except
:
except
:
# use the pass function instead of setting read/write fails
# use the pass function instead of setting read/write fails
i
.
set_pass_func
(
self
.
OPCua_client
)
i
.
set_pass_func
()
self
.
error_stream
(
"
error in getting APSCTL attribute: {} from client
"
.
format
(
i
))
self
.
error_stream
(
"
error in getting APSCTL attribute: {} from client
"
.
format
(
i
))
self
.
OPCua_client
.
start
()
self
.
OPCua_client
.
start
()
...
...
This diff is collapsed.
Click to expand it.
devices/PCC.py
+
1
−
1
View file @
cb917696
...
@@ -146,7 +146,7 @@ class PCC(hardware_device):
...
@@ -146,7 +146,7 @@ class PCC(hardware_device):
i
.
set_comm_client
(
self
.
OPCua_client
)
i
.
set_comm_client
(
self
.
OPCua_client
)
except
:
except
:
# use the pass function instead of setting read/write fails
# use the pass function instead of setting read/write fails
i
.
set_pass_func
(
self
.
OPCua_client
)
i
.
set_pass_func
()
self
.
error_stream
(
"
error in getting PCC attribute: {} from client
"
.
format
(
i
))
self
.
error_stream
(
"
error in getting PCC attribute: {} from client
"
.
format
(
i
))
self
.
OPCua_client
.
start
()
self
.
OPCua_client
.
start
()
...
...
This diff is collapsed.
Click to expand it.
devices/SDP.py
+
3
−
2
View file @
cb917696
...
@@ -140,8 +140,9 @@ class SDP(hardware_device):
...
@@ -140,8 +140,9 @@ class SDP(hardware_device):
i
.
set_comm_client
(
self
.
OPCua_client
)
i
.
set_comm_client
(
self
.
OPCua_client
)
except
:
except
:
# use the pass function instead of setting read/write fails
# use the pass function instead of setting read/write fails
i
.
set_pass_func
(
self
.
OPCua_client
)
i
.
set_pass_func
()
self
.
error_stream
(
"
error in getting SDP attribute: {} from client
"
.
format
(
i
))
self
.
debug_stream
(
"
error in getting SDP attribute: {} from client
"
.
format
(
i
))
pass
self
.
OPCua_client
.
start
()
self
.
OPCua_client
.
start
()
...
...
This diff is collapsed.
Click to expand it.
devices/SNMP.py
+
1
−
1
View file @
cb917696
...
@@ -94,7 +94,7 @@ class SNMP(hardware_device):
...
@@ -94,7 +94,7 @@ class SNMP(hardware_device):
i
.
set_comm_client
(
self
.
snmp_manager
)
i
.
set_comm_client
(
self
.
snmp_manager
)
except
:
except
:
# use the pass function instead of setting read/write fails
# use the pass function instead of setting read/write fails
i
.
set_pass_func
(
self
.
snmp_manager
)
i
.
set_pass_func
()
self
.
error_stream
(
"
error in getting SNMP attribute: {} from client
"
.
format
(
i
))
self
.
error_stream
(
"
error in getting SNMP attribute: {} from client
"
.
format
(
i
))
self
.
snmp_manager
.
start
()
self
.
snmp_manager
.
start
()
...
...
This diff is collapsed.
Click to expand it.
devices/ini_device.py
+
1
−
1
View file @
cb917696
...
@@ -112,7 +112,7 @@ class ini_device(hardware_device):
...
@@ -112,7 +112,7 @@ class ini_device(hardware_device):
i
.
set_comm_client
(
self
.
ini_client
)
i
.
set_comm_client
(
self
.
ini_client
)
except
:
except
:
# use the pass function instead of setting read/write fails
# use the pass function instead of setting read/write fails
i
.
set_pass_func
(
self
.
ini_client
)
i
.
set_pass_func
()
self
.
error_stream
(
"
error in getting ini attribute: {} from client
"
.
format
(
i
))
self
.
error_stream
(
"
error in getting ini attribute: {} from client
"
.
format
(
i
))
self
.
ini_client
.
start
()
self
.
ini_client
.
start
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment