1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
From b5970ae63e5072887252e98e54c2a527c2ef95fa Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Wed, 11 Jun 2025 13:54:33 +0200
Subject: [PATCH] ValueError: action 'store_true' is not valid for positional
arguments
---
src/utils/python/arc/control/DataStaging.py | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/src/utils/python/arc/control/DataStaging.py b/src/utils/python/arc/control/DataStaging.py
index 801548dec..af3fb5871 100644
--- a/src/utils/python/arc/control/DataStaging.py
+++ b/src/utils/python/arc/control/DataStaging.py
@@ -1095,13 +1095,4 @@ class DataStagingControl(ComponentControl):
dds_dtr_actions = dds_dtr_ctl.add_subparsers(title='DTR info menu',dest='dtr',metavar='ACTION',help='DESCRIPTION')
dds_dtr_state = dds_dtr_actions.add_parser('state', help='Show summary of DTR state info')
- dds_dtr_state.add_argument('state',action='store_true')
-
-
-
-
-
-
-
-
-
+ dds_dtr_state.add_argument('state')
--
2.49.0
|