Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
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 = []
Exemplo n.º 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()
Exemplo n.º 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 = []
Exemplo n.º 6
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()