Show More
@@ -104,6 +104,7 b' class request(object):' | |||||
104 |
|
104 | |||
105 | def run(): |
|
105 | def run(): | |
106 | """run the command in sys.argv""" |
|
106 | """run the command in sys.argv""" | |
|
107 | try: | |||
107 | initstdio() |
|
108 | initstdio() | |
108 | with tracing.log('parse args into request'): |
|
109 | with tracing.log('parse args into request'): | |
109 | req = request(pycompat.sysargv[1:]) |
|
110 | req = request(pycompat.sysargv[1:]) | |
@@ -139,6 +140,8 b' def run():' | |||||
139 | status = -1 |
|
140 | status = -1 | |
140 |
|
141 | |||
141 | _silencestdio() |
|
142 | _silencestdio() | |
|
143 | finally: | |||
|
144 | pass | |||
142 | sys.exit(status & 255) |
|
145 | sys.exit(status & 255) | |
143 |
|
146 | |||
144 |
|
147 |
General Comments 0
You need to be logged in to leave comments.
Login now