summaryrefslogtreecommitdiff
path: root/lib/commands.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-23 21:46:22 -0400
committerLex Neva <github.com@lexneva.name>2018-08-24 20:56:30 -0400
commit7f9208ae2a97026019ff36d28faf37a5c1b9b270 (patch)
tree007e4b8293d5f3d933824974ebd77f3faf408f58 /lib/commands.py
parenta8ac170e87cf9db1b976ca1a068b67f5a70cc571 (diff)
style fixes
Diffstat (limited to 'lib/commands.py')
-rw-r--r--lib/commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/commands.py b/lib/commands.py
index a9b97b35..3a4ca230 100644
--- a/lib/commands.py
+++ b/lib/commands.py
@@ -173,6 +173,7 @@ def global_commands(svg, command):
if standalone_command.command == command:
yield standalone_command
+
@cache
def global_command(svg, command):
"""Find a single command of the specified type.