[kupfer: 37/51] core.plugins: Use empty string as description fallback



commit df22a471950fc5417c8a9f3cf9aa6e8a602dd9b6
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Sat Jan 9 21:28:21 2010 +0100

    core.plugins: Use empty string as description fallback

 kupfer/core/plugins.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/core/plugins.py b/kupfer/core/plugins.py
index 2baf498..4cf2f86 100644
--- a/kupfer/core/plugins.py
+++ b/kupfer/core/plugins.py
@@ -70,7 +70,7 @@ def get_plugin_info():
 			pretty.print_error(__name__, "import plugin '%s':" % plugin_name, e)
 			continue
 		localized_name = plugin.get("__kupfer_name__", None)
-		desc = plugin.get("__description__", _("(no description)"))
+		desc = plugin.get("__description__", "")
 		vers = plugin.get("__version__", "")
 		author = plugin.get("__author__", "")
 		# skip false matches;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]