Show
Ignore:
Timestamp:
12/09/07 15:26:15 (17 years ago)
Author:
jerome
Message:

Each parser now has a 'format' attribute containing its short name.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/zjstream.py

    r532 r555  
    3232        """Returns True if data is ZjStream, else False.""" 
    3333        if self.firstblock[:4] == "ZJZJ" : 
    34             self.logdebug("DEBUG: Input file is in the Zenographics ZjStream (little endian) format.") 
     34            self.format = "Zenographics ZjStream (little endian)" 
    3535            return self.littleEndian() 
    3636        elif self.firstblock[:4] == "JZJZ" :     
    37             self.logdebug("DEBUG: Input file is in the Zenographics ZjStream (big endian) format.") 
     37            self.format = "Zenographics ZjStream (big endian)" 
    3838            return self.bigEndian() 
    3939        else :