Show
Ignore:
Timestamp:
06/22/07 12:59:10 (17 years ago)
Author:
jerome
Message:

Added some notes and debugging information

Files:
1 modified

Legend:

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

    r449 r454  
    189189            # of copies is an unsigned 16 bits integer 
    190190            try : 
    191                 self.pages[self.pagecount]["copies"] = unpack(self.unpackShort, minfile[pos3-2:pos3])[0] 
     191                nbcopies = unpack(self.unpackShort, minfile[pos3-2:pos3])[0] 
     192                self.logdebug("Number of copies : %i" % nbcopies) 
     193                self.pages[self.pagecount]["copies"] = nbcopies 
    192194            except KeyError :     
    193195                self.logdebug("It looks like this PCLXL file is corrupted.")