mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-06-30 16:59:27 +02:00
refactor: bare excepts removed.
This commit is contained in:
parent
7e0308b155
commit
3fd63f8b67
4 changed files with 6 additions and 6 deletions
|
@ -946,7 +946,7 @@ def _merge_idx(idl):
|
|||
g = groupby(idl)
|
||||
if next(g, True) and not next(g, False):
|
||||
return idl[0]
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
if np.all([type(idx) is range for idx in idl]):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue