コード例 #1
0
ファイル: VomsProxy.py プロジェクト: Erni1619/ganga
 def shell(self):
     """
     This creates a grid shell instance which is used by the VomsProxy only when needed
     """
     if self._shell is None:
         self._shell = GridShell.getShell()
     return self._shell
コード例 #2
0
ファイル: VomsProxy.py プロジェクト: wireshark10/ganga
 def shell(self):
     """
     This creates a grid shell instance which is used by the VomsProxy only when needed
     """
     if self._shell is None:
         self._shell = GridShell.getShell()
     return self._shell
コード例 #3
0
ファイル: LCGSEFile.py プロジェクト: mjmottram/ganga
 def __construct__(self, args):
     self.localDir = ''
     if len(args) == 1 and isinstance(args[0], str):
         self.namePattern = args[0]
     elif len(args) == 2 and isinstance(args[0], str) and isinstance(args[1], str):
         self.namePattern = args[0]
         self.localDir = args[1]
     self.shell = GridShell.getShell()
     self.locations = []
コード例 #4
0
    def __init__(self, namePattern='', localDir='', **kwds):
        """ namePattern is the pattern of the output file that has to be written into LCG SE
        """
        super(LCGSEFile, self).__init__()
        self.namePattern = namePattern
        self.localDir = localDir

        self.locations = []

        self.shell = GridShell.getShell()
コード例 #5
0
 def __construct__(self, args):
     self.localDir = ''
     if len(args) == 1 and isinstance(args[0], str):
         self.namePattern = args[0]
     elif len(args) == 2 and isinstance(args[0], str) and isinstance(
             args[1], str):
         self.namePattern = args[0]
         self.localDir = args[1]
     self.shell = GridShell.getShell()
     self.locations = []
コード例 #6
0
ファイル: LCGSEFile.py プロジェクト: mjmottram/ganga
    def __init__(self, namePattern='', localDir='', **kwds):
        """ namePattern is the pattern of the output file that has to be written into LCG SE
        """
        super(LCGSEFile, self).__init__()
        self.namePattern = namePattern
        self.localDir = localDir

        self.locations = []

        self.shell = GridShell.getShell()