Show
Ignore:
Timestamp:
11/20/07 00:56:15 (17 years ago)
Author:
jerome
Message:

Even more code cleaning : we use named temporary files now, so no need for pipes.

Files:
1 modified

Legend:

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

    r491 r492  
    3232class Parser(pdlparser.PDLParser) : 
    3333    """A parser for DVI documents.""" 
    34     totiffcommands = [ 'cat >%(fname)s && dvips -q -o - %(fname)s | gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' ] 
     34    totiffcommands = [ 'dvips -q -o - "%(infname)s" | gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r"%(dpi)i" -sOutputFile="%(outfname)s" -' ] 
    3535    def isValid(self) :         
    3636        """Returns True if data is DVI, else False."""