Show More
@@ -277,7 +277,11 b' If no filename is given, or if filename is -, read standard input."""' | |||
|
277 | 277 | if fname == '-': |
|
278 | 278 | stream = sys.stdin |
|
279 | 279 | else: |
|
280 | try: | |
|
280 | 281 | stream = file(fname) |
|
282 | except IOError,msg: | |
|
283 | print >> sys.stderr, msg | |
|
284 | sys.exit(1) | |
|
281 | 285 | |
|
282 | 286 | parser = Parser() |
|
283 | 287 |
General Comments 0
You need to be logged in to leave comments.
Login now