Avoid auto-import of bundle helpers (#4527)

The new bundle helpers were being auto-loaded with sugar3.bundle due
to their placement in __init__.py. This was causing Gi to be imported,
breaking GTK2 activity launches.

Move the helpers to a dedicated module.
This commit is contained in:
Daniel Drake
2013-06-29 09:10:32 -06:00
parent 058271a4d7
commit be91f84a4b
4 changed files with 53 additions and 36 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import os
import unittest
import subprocess
from sugar3.bundle import bundle_from_dir, bundle_from_archive
from sugar3.bundle.helpers import bundle_from_dir, bundle_from_archive
from sugar3.bundle.activitybundle import ActivityBundle
from sugar3.bundle.contentbundle import ContentBundle