Skip to content

Commit 4f14f50

Browse files
authored
Merge pull request #7284 from aldbr/v9_FIX_dirac-configure
fix: disabledVOs not available when doing dirac-configure
2 parents 50ff1ab + b30e5ee commit 4f14f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/FrameworkSystem/scripts/dirac_proxy_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def doTheMagic(self):
240240

241241
vo = Registry.getVOMSVOForGroup(self.__piParams.diracGroup)
242242
disabledVOs = gConfig.getValue("/DiracX/DisabledVOs", [])
243-
if vo not in disabledVOs:
243+
if vo and vo not in disabledVOs:
244244
from diracx.core.utils import write_credentials # pylint: disable=import-error
245245
from diracx.core.models import TokenResponse # pylint: disable=import-error
246246
from diracx.core.preferences import DiracxPreferences # pylint: disable=import-error

0 commit comments

Comments
 (0)