Show
Ignore:
Timestamp:
02/08/07 21:48:39 (18 years ago)
Author:
jerome
Message:

Uses True/False vs 1/0

Files:
1 modified

Legend:

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

    r443 r449  
    334334        """ 
    335335        self.iscolor = None 
    336         found = 0 
     336        found = False 
    337337        while not found : 
    338338            line = self.infile.readline() 
     
    341341            pos = line.find(" HP-PCL XL;")     
    342342            if pos != -1 : 
    343                 found = 1 
     343                found = True 
    344344                endian = ord(line[pos - 1]) 
    345345                if endian == 0x29 :