Skip to content

Commit

Permalink
style: import ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Oct 3, 2023
1 parent 0a76b15 commit a03ecc1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions src/DIRAC/ConfigurationSystem/Client/Helpers/Operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@
but this works iff the object is instantiated by a proxy (and not, e.g., using a server certificate)
"""
import os
import _thread

from diraccfg import CFG
from DIRAC import S_OK, S_ERROR, gConfig
from DIRAC.ConfigurationSystem.Client.Helpers import Registry, CSGlobals

from DIRAC import S_ERROR, S_OK
from DIRAC.ConfigurationSystem.Client.ConfigurationData import gConfigurationData
from DIRAC.ConfigurationSystem.Client.Helpers import CSGlobals, Registry
from DIRAC.Core.Security.ProxyInfo import getVOfromProxyGroup
from DIRAC.Core.Utilities import LockRing
from DIRAC.Core.Utilities.DErrno import ESECTION
Expand Down
7 changes: 3 additions & 4 deletions src/DIRAC/Core/Utilities/Shifter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
"""
import os

from DIRAC import S_OK, S_ERROR, gLogger
from DIRAC import S_ERROR, S_OK, gLogger
from DIRAC.ConfigurationSystem.Client.Helpers import Registry, cfgPath
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
from DIRAC.Core.Utilities.File import mkDir
from DIRAC.FrameworkSystem.Client.ProxyManagerClient import gProxyManager
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
from DIRAC.ConfigurationSystem.Client.Helpers import cfgPath
from DIRAC.ConfigurationSystem.Client.Helpers import Registry


def getShifterProxy(shifterType, fileName=False):
Expand Down
4 changes: 2 additions & 2 deletions src/DIRAC/WorkloadManagementSystem/private/ConfigHelper.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
""" A set of utilities for getting configuration information for the WMS components
"""
from DIRAC import S_OK, S_ERROR, gLogger
from DIRAC import S_ERROR, S_OK, gLogger
from DIRAC.ConfigurationSystem.Client.Helpers import Operations, Registry
from DIRAC.FrameworkSystem.Client.ProxyManagerClient import gProxyManager
from DIRAC.ConfigurationSystem.Client.Helpers import Registry, Operations


def findGenericPilotCredentials(vo=False, group=False, pilotDN="", pilotGroup=""):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"""

from DIRAC import S_OK, S_ERROR, gLogger, exit as DIRACExit
from DIRAC import S_ERROR, S_OK, gLogger
from DIRAC import exit as DIRACExit
from DIRAC.Core.Base.Script import Script


Expand Down

0 comments on commit a03ecc1

Please sign in to comment.