Skip to content

Commit

Permalink
Merge pull request #7284 from aldbr/v9_FIX_dirac-configure
Browse files Browse the repository at this point in the history
fix: disabledVOs not available when doing dirac-configure
  • Loading branch information
chrisburr authored Nov 9, 2023
2 parents 50ff1ab + b30e5ee commit 4f14f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/FrameworkSystem/scripts/dirac_proxy_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def doTheMagic(self):

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

0 comments on commit 4f14f50

Please sign in to comment.