From: Aleksey Lim <alsr...@member.fsf.org>

Otherwise it is possible to include, eg, system modules before local ones.
---
 src/sugar/activity/main.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/sugar/activity/main.py b/src/sugar/activity/main.py
index 10d0031..eee717e 100644
--- a/src/sugar/activity/main.py
+++ b/src/sugar/activity/main.py
@@ -88,7 +88,7 @@ def main():
         sys.exit(1)
 
     bundle_path = os.environ['SUGAR_BUNDLE_PATH']
-    sys.path.append(bundle_path)
+    sys.path.insert(0, bundle_path)
 
     bundle = ActivityBundle(bundle_path)
 
-- 
1.7.3.4

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to