Changeset 3461

Show
Ignore:
Timestamp:
11/25/08 00:55:45 (15 years ago)
Author:
jerome
Message:

Uses True and False instead of 1 and 0.

Files:
1 modified

Legend:

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

    r3456 r3461  
    134134        if arg == "-" : 
    135135            infile = sys.stdin 
    136             mustclose = 0 
     136            mustclose = False 
    137137        else : 
    138138            if arg.endswith(".ejl") : 
    139139                klass = EJLParser 
    140140            infile = open(arg, "rb") 
    141             mustclose = 1 
     141            mustclose = True 
    142142        try : 
    143143            parser = klass(infile.read(), debug=1)