mirror of
https://github.com/clearml/clearml
synced 2025-04-23 07:45:24 +00:00
PEP8
This commit is contained in:
parent
bb4981416c
commit
9db8656cd1
@ -3745,7 +3745,7 @@ class PipelineDecorator(PipelineController):
|
||||
def sanitize(function_source):
|
||||
matched = re.match(r"[\s]*@[\w]*.component[\s\\]*\(", function_source)
|
||||
if matched:
|
||||
function_source = function_source[matched.span()[1] :]
|
||||
function_source = function_source[matched.span()[1]:]
|
||||
# find the last ")"
|
||||
open_parenthesis = 0
|
||||
last_index = -1
|
||||
|
Loading…
Reference in New Issue
Block a user