##// 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 12 import hashlib
13 13 import os
14 14 import re
15 import socket
16 15 import subprocess
17 16 import weakref
18 17
@@ -270,8 +269,6 b' def callcatch(ui, func):'
270 269 # Commands shouldn't sys.exit directly, but give a return code.
271 270 # Just in case catch this and and pass exit code to caller.
272 271 return inst.code
273 except socket.error as inst:
274 ui.error(_("abort: %s\n") % stringutil.forcebytestr(inst.args[-1]))
275 272
276 273 return -1
277 274
General Comments 0
You need to be logged in to leave comments. Login now