comparison hgext/color.py @ 30679:fe11f466880d

chg: handle connect failure before errno gets overridden This patch moves the error handling logic up so that errno after connect won't be overridden.
author Jun Wu <quark@fb.com>
date Sun, 25 Dec 2016 23:32:11 +0000
parents b2be4ccaff1d
children 520af4cc34de
comparison
equal deleted inserted replaced
30678:caf7e1c5efe4 30679:fe11f466880d