File: 0001-ValueError-action-store_true-is-not-valid-for-positi.patch

package info (click to toggle)
nordugrid-arc 7.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,660 kB
  • sloc: cpp: 136,314; python: 12,444; perl: 12,313; php: 11,408; sh: 10,820; ansic: 3,295; makefile: 3,149; xml: 180; sql: 130; javascript: 53; sed: 30
file content (32 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download
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