From d9d397fcc0139ccf940e268972069dad5730b8e8 Mon Sep 17 00:00:00 2001 From: JCTutorius Date: Thu, 19 Nov 2009 15:40:18 +0000 Subject: Forget to add addon.py to last commit --- (limited to 'tutorius/addon.py') diff --git a/tutorius/addon.py b/tutorius/addon.py index 7ac68f7..21ebffa 100644 --- a/tutorius/addon.py +++ b/tutorius/addon.py @@ -28,6 +28,7 @@ __action__ = { "icon" : "hello", "class" : HelloAction, "mandatory_props" : ["text"], + "test" : true, (OPTIONAL) } """ @@ -75,7 +76,7 @@ def list_addons(): global _cache if not _cache: _reload_addons() - return _cache.keys() + return [k for k, v in _cache.items() if 'test' not in v] def get_addon_meta(name): global _cache -- cgit v0.9.1