예제 #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)
예제 #2
0
파일: warnings.py 프로젝트: TonyWildish/DDM
 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)