[kupfer] data: Always load plugins in sorted order



commit 4f972ee9e8504b9a223d0a56cc56225ad61d1986
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Fri Mar 11 00:25:30 2011 +0100

    data: Always load plugins in sorted order

 kupfer/core/data.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/core/data.py b/kupfer/core/data.py
index fc15f9d..03b0a84 100644
--- a/kupfer/core/data.py
+++ b/kupfer/core/data.py
@@ -544,7 +544,7 @@ class DataController (gobject.GObject, pretty.OutputMixin):
 		from kupfer.core import plugins
 
 		setctl = settings.GetSettingsController()
-		for item in plugins.get_plugin_ids():
+		for item in sorted(plugins.get_plugin_ids()):
 			if not setctl.get_plugin_enabled(item):
 				continue
 			sources = self._load_plugin(item)



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