Show
Ignore:
Timestamp:
11/28/07 11:13:33 (16 years ago)
Author:
jerome
Message:

Finally we need to duplicate some datas, since for some file formats (e.g. mstrash)
a preliminary conversion will have to be done (through wvware for example) and we
would need to overwrite original values, which is not desirable.

Files:
1 modified

Legend:

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

    r520 r522  
    3636        """Returns True if data is DVI, else False.""" 
    3737        try : 
    38             if (ord(self.parent.firstblock[0]) == 0xf7) \ 
    39                 and (ord(self.parent.lastblock[-1]) == 0xdf) : 
     38            if (ord(self.firstblock[0]) == 0xf7) \ 
     39                and (ord(self.lastblock[-1]) == 0xdf) : 
    4040                self.logdebug("DEBUG: Input file is in the DVI format.") 
    4141                return True