Exemple #1
0
 def __init__ (self, lfn, root_cause=None):
     """
     
     
     @since: 1.0
     
     @param lfn: the logical file name.
     @type lfn: str
     """
     self.lfn = lfn
     DQException.__init__(self, root_cause=root_cause)
Exemple #2
0
 def __init__ (self, name, dsn, version):
     """
     @since: 1.0
     
     @param name: name of the container.
     @type name: str
     @param dsn: dataset unique name.
     @type dsn: str
     @param version: dataset version.
     @type version: int
     
     """
     self.name = name
     self.dsn = dsn
     self.version = version
     DQException.__init__(self)