Changeset 3461 for pkpgcounter
- Timestamp:
- 11/25/08 00:55:45 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pjl.py
r3456 r3461 134 134 if arg == "-" : 135 135 infile = sys.stdin 136 mustclose = 0136 mustclose = False 137 137 else : 138 138 if arg.endswith(".ejl") : 139 139 klass = EJLParser 140 140 infile = open(arg, "rb") 141 mustclose = 1141 mustclose = True 142 142 try : 143 143 parser = klass(infile.read(), debug=1)