summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-09-11 16:41:26 +0200
committerKali Kaneko <kali@leap.se>2013-09-11 16:41:26 +0200
commit612a3a0964491ead998fe5ea43022fc610322b97 (patch)
tree4d05685394d985f2efdd3f5793c42406b9fe38c7 /src
parentf2024b6143cad13ed71c4e32293510c9b44e9a45 (diff)
parent0131ebe6e3d80111cf13d9c21c6175e970a6bbd2 (diff)
Merge branch 'develop' of ssh://leap.se/leap_client into develop
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/util/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/util/__init__.py b/src/leap/bitmask/util/__init__.py
index 6dd18bcf..78efcb6e 100644
--- a/src/leap/bitmask/util/__init__.py
+++ b/src/leap/bitmask/util/__init__.py
@@ -27,7 +27,7 @@ def first(things):
"""
try:
return things[0]
- except TypeError:
+ except (IndexError, TypeError):
return None