summaryrefslogtreecommitdiffstats
path: root/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/helpers.py b/helpers.py
index 8793417..18871a2 100644
--- a/helpers.py
+++ b/helpers.py
@@ -28,3 +28,10 @@ def debug3(s):
class Fatal(Exception):
pass
+
+
+def list_contains_any(l, sub):
+ for i in sub:
+ if i in l:
+ return True
+ return False