Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Juanjo Alvarez <[email protected]>
  • Loading branch information
juanjux committed Jul 25, 2024
1 parent a93d401 commit be3c07a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ddtrace/appsec/_iast/_ast/ast_patching.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ def astpatch_module(module: ModuleType, remove_flask_run: bool = False) -> Tuple
log.debug("empty file: %s", module_path)
return "", ""

if remove_flask_run:
source_text = _remove_flask_run(source_text)

# JJJ
return module_path, source_text
# if remove_flask_run:
# source_text = _remove_flask_run(source_text)

# new_source = visit_ast(
# source_text,
# module_path,
Expand Down

0 comments on commit be3c07a

Please sign in to comment.