Passed
Push — master ( 1b1a5c...7b3c17 )
by Jordi
05:45
created

guard_handler   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 3
dl 0
loc 11
rs 10
c 0
b 0
f 0
1
## Script (Python) "guard_handler"
2
##bind container=container
3
##bind context=context
4
##bind namespace=
5
##bind script=script
6
##bind subpath=traverse_subpath
7
##parameters=transition_id=None
8
##title=guard_handler Script
9
from bika.lims.workflow import guard_handler as wf_guard_handler
10
return wf_guard_handler(context, transition_id)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable transition_id does not seem to be defined.
Loading history...
Comprehensibility Best Practice introduced by
The variable context does not seem to be defined.
Loading history...
11