##// END OF EJS Templates
scmutil: drop unreachable except clause...
Martin von Zweigbergk -
r41324:17941fc5 default
parent child Browse files
Show More
@@ -12,7 +12,6 b' import glob'
12 import hashlib
12 import hashlib
13 import os
13 import os
14 import re
14 import re
15 import socket
16 import subprocess
15 import subprocess
17 import weakref
16 import weakref
18
17
@@ -270,8 +269,6 b' def callcatch(ui, func):'
270 # Commands shouldn't sys.exit directly, but give a return code.
269 # Commands shouldn't sys.exit directly, but give a return code.
271 # Just in case catch this and and pass exit code to caller.
270 # Just in case catch this and and pass exit code to caller.
272 return inst.code
271 return inst.code
273 except socket.error as inst:
274 ui.error(_("abort: %s\n") % stringutil.forcebytestr(inst.args[-1]))
275
272
276 return -1
273 return -1
277
274
General Comments 0
You need to be logged in to leave comments. Login now