Show More
@@ -73,7 +73,11 b' def write(*things):' | |||||
73 | for part in thing: |
|
73 | for part in thing: | |
74 | write(part) |
|
74 | write(part) | |
75 | else: |
|
75 | else: | |
|
76 | try: | |||
76 | sys.stdout.write(str(thing)) |
|
77 | sys.stdout.write(str(thing)) | |
|
78 | except socket.error, x: | |||
|
79 | if x[0] != errno.ECONNRESET: | |||
|
80 | raise | |||
77 |
|
81 | |||
78 | class templater: |
|
82 | class templater: | |
79 | def __init__(self, mapfile, filters={}, defaults={}): |
|
83 | def __init__(self, mapfile, filters={}, defaults={}): |
General Comments 0
You need to be logged in to leave comments.
Login now