summaryrefslogtreecommitdiff
path: root/python/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/plugin.py')
-rw-r--r--python/plugin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/plugin.py b/python/plugin.py
index 27549c3d..72a5ed42 100644
--- a/python/plugin.py
+++ b/python/plugin.py
@@ -43,6 +43,9 @@ class PluginCommandContext(object):
self._function = None
self._instruction = None
+ def __len__(self):
+ return self._length
+
@property
def view(self):
""" """