File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ def lock(self):
141141 This is the same as calling :meth:`Port.set_locked` with the arg
142142 set to ``True``
143143 """
144- self .set_locked (True , connected_ports = False )
144+ self .set_locked (True , connected_ports = True )
145145
146146 def unlock (self ):
147147 """
@@ -151,9 +151,9 @@ def unlock(self):
151151 This is the same as calling :meth:`Port.set_locked` with the arg
152152 set to ``False``
153153 """
154- self .set_locked (False , connected_ports = False )
154+ self .set_locked (False , connected_ports = True )
155155
156- def set_locked (self , state = False , connected_ports = False ):
156+ def set_locked (self , state = False , connected_ports = True ):
157157 """
158158 Sets the port locked state. When locked pipe connections can't be
159159 connected or disconnected from this port.
You can’t perform that action at this time.
0 commit comments