From f4387f0e8297bdb8115bba024a4047a86d0729be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Riette?= Date: Tue, 15 Oct 2024 10:25:07 +0200 Subject: [PATCH] BF when restrictScope is not set --- src/pyft/scripting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyft/scripting.py b/src/pyft/scripting.py index 3e9ed19..542ee49 100644 --- a/src/pyft/scripting.py +++ b/src/pyft/scripting.py @@ -147,7 +147,7 @@ def updateParser(parser, withInput, withOutput, withXml, withPlotCentralFile, tr 'part, it applies to all source code).') if restrictScope: - parser.add_argument('--restrictScope', default=None, type=str, metavar='SCOPEPATH', + parser.add_argument('--restrictScope', default='', type=str, metavar='SCOPEPATH', help="Limit the action to this scope path (SUBROUTINE/FUNCTION/" + "MODULE/TYPE). It is '/'-separated path with each element " + "having the form 'module:', " +