Changed attribute-caching to use a string as key rather than the attribute-object itself. The latter caused the database to be invoked in order to create the hash over and over.

This commit is contained in:
Griatch 2012-04-28 14:47:11 +02:00
parent 3091587e33
commit 2dba8ad547
3 changed files with 52 additions and 31 deletions

View file

@ -210,7 +210,7 @@ def format_script_list(scripts):
class CmdScripts(MuxCommand):
"""
Operate on scripts.
Operate and list global scripts, list all scrips.
Usage:
@scripts[/switches] [<obj or scriptid or script.path>]