aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadab Zafar <dufferzafar0@gmail.com>2016-06-04 15:00:31 +0530
committerShadab Zafar <dufferzafar0@gmail.com>2016-06-04 15:23:09 +0530
commitae553ef472d63e6b05d87f1ad28c604e0fb67347 (patch)
tree1c002cf32919758ea4a408226bdae11bb196e674
parent42930407aeb209f8790411a51fe49681159baf18 (diff)
downloadmitmproxy-ae553ef472d63e6b05d87f1ad28c604e0fb67347.tar.gz
mitmproxy-ae553ef472d63e6b05d87f1ad28c604e0fb67347.tar.bz2
mitmproxy-ae553ef472d63e6b05d87f1ad28c604e0fb67347.zip
Fix Docstring: "inject" can be an action too
-rw-r--r--pathod/language/writer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathod/language/writer.py b/pathod/language/writer.py
index 22e32ce2..b8081989 100644
--- a/pathod/language/writer.py
+++ b/pathod/language/writer.py
@@ -22,8 +22,8 @@ def write_values(fp, vals, actions, sofar=0, blocksize=BLOCKSIZE):
"""
vals: A list of values, which may be strings or Value objects.
- actions: A list of (offset, action, arg) tuples. Action may be "pause"
- or "disconnect".
+ actions: A list of (offset, action, arg) tuples. Action may be "inject",
+ "pause" or "disconnect".
Both vals and actions are in reverse order, with the first items last.