We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5dc384 commit 0ec6226Copy full SHA for 0ec6226
doc/examples/dumpinvestigation.py
@@ -29,7 +29,7 @@ def get_investigation_id(client, invid):
29
if len(l) == 2:
30
# one colon, invid == name:visitId
31
query.addConditions({"visitId": "= '%s'" % l[1]})
32
- else:
+ elif len(l) > 2:
33
# too many colons
34
raise RuntimeError("Invalid investigation identifier '%s'" % invid)
35
return client.assertedSearch(query)[0]
0 commit comments