Mercurial > public > mercurial-scm > hg
comparison mercurial/bundlerepo.py @ 14004:97ed99d1f419
eliminate various naked except clauses
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Sat, 23 Apr 2011 00:51:25 +0300 |
parents | e574207e3bcd |
children | 72c84f24b420 |
comparison
equal
deleted
inserted
replaced
14003:ba734ff5cadd | 14004:97ed99d1f419 |
---|---|
292 commononly=usecommon) | 292 commononly=usecommon) |
293 common, incoming, rheads = tmp | 293 common, incoming, rheads = tmp |
294 if not incoming: | 294 if not incoming: |
295 try: | 295 try: |
296 os.unlink(bundlename) | 296 os.unlink(bundlename) |
297 except: | 297 except OSError: |
298 pass | 298 pass |
299 return other, None, None, None | 299 return other, None, None, None |
300 | 300 |
301 bundle = None | 301 bundle = None |
302 if bundlename or not other.local(): | 302 if bundlename or not other.local(): |