Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
workflow
pypushflow
Commits
d076e560
Commit
d076e560
authored
Jan 10, 2022
by
Wout De Nolf
Browse files
missing connect logging for RouterActor
parent
304bd3ee
Pipeline
#63619
passed with stages
in 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pypushflow/RouterActor.py
View file @
d076e560
...
@@ -48,6 +48,9 @@ class RouterActor(AbstractActor):
...
@@ -48,6 +48,9 @@ class RouterActor(AbstractActor):
self
.
dictValues
=
{}
self
.
dictValues
=
{}
def
connect
(
self
,
actor
,
expectedValue
=
"other"
):
def
connect
(
self
,
actor
,
expectedValue
=
"other"
):
self
.
logger
.
debug
(
"connect to actor '%s' (output port %s)"
,
actor
.
name
,
expectedValue
)
if
expectedValue
!=
"other"
and
expectedValue
not
in
self
.
listPort
:
if
expectedValue
!=
"other"
and
expectedValue
not
in
self
.
listPort
:
raise
RuntimeError
(
raise
RuntimeError
(
f
"Port
{
expectedValue
}
not defined for router actor
{
self
.
name
}
!"
f
"Port
{
expectedValue
}
not defined for router actor
{
self
.
name
}
!"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment