예제 #1
0
 def __init__(self, elem):
     """
     TBD
     
     @param elem: ...
     @type elem: instance of L{Element}
     """
     self.code, self.reason = _parse_status(elem)
     self.errorCount = (self.code >= Constants.CODE_LOWEST_ERROR)
예제 #2
0
 def __init__(self, elem):
     """
     TBD
     
     @param elem: ...
     @type elem: instance of L{Element}
     """
     self.code, self.reason = _parse_status(elem)
     self.errorCount = (self.code >= Constants.CODE_LOWEST_ERROR)