File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/DIRAC/WorkloadManagementSystem/Client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -184,11 +184,11 @@ def _processResourceDescription(self, resourceDescription):
184
184
if resourceDescription .get ("Tag" ):
185
185
tags = resourceDescription ["Tag" ]
186
186
resourceDict ["Tag" ] = (
187
- tags if isinstance (tags , list ) else list ({tag .strip ("\" '" ) for tag in tags .strip ("[]" ).split ("," )})
187
+ tags if isinstance (tags , list ) else list ({tag .strip ("\" ' " ) for tag in tags .strip ("[]" ).split ("," )})
188
188
)
189
189
if "RequiredTag" in resourceDescription :
190
190
requiredTagsList = (
191
- resourceDescription ["RequiredTag" ].split ("," )
191
+ list ({ tag . strip ( " \" ' " ) for tag in resourceDescription ["RequiredTag" ].strip ( "[]" ). split ("," )} )
192
192
if isinstance (resourceDescription ["RequiredTag" ], str )
193
193
else resourceDescription ["RequiredTag" ]
194
194
)
You can’t perform that action at this time.
0 commit comments