Skip to content

Commit

Permalink
fix: Ignore pylint error from diracx not being installed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr authored Oct 5, 2023
1 parent 63ea333 commit ae2e2a6
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 @@ -243,7 +243,7 @@ def doTheMagic(self):
if os.getenv("DIRAC_ENABLE_DIRACX_LOGIN", "No").lower() in ("yes", "true"):
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
from diracx.core.preferences import DiracxPreferences # pylint: disable=import-error

res = Client(url="Framework/ProxyManager").exchangeProxyForToken()
if not res["OK"]:
Expand Down

0 comments on commit ae2e2a6

Please sign in to comment.