diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-03 10:10:49 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-03 10:10:49 (GMT) |
commit | 9b6d7c62925f46f7ffa0ea9b9013e0ed9bcbaa0f (patch) | |
tree | 254286e920e1c1529b5bffed027f5fc77146539b /sugar/activity/bundlebuilder.py | |
parent | 4e267c18bf9e31e9261da5fb13a181122af0a984 (diff) |
Simple fix for getting the activities dir.
Diffstat (limited to 'sugar/activity/bundlebuilder.py')
-rw-r--r-- | sugar/activity/bundlebuilder.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index 9b3a81d..5673077 100644 --- a/sugar/activity/bundlebuilder.py +++ b/sugar/activity/bundlebuilder.py @@ -22,6 +22,7 @@ import os import zipfile import shutil +from sugar import env from sugar.activity.bundle import Bundle class _SvnFileList(list): @@ -103,7 +104,7 @@ setup.py help - print this message \n\ ' def cmd_dev(): - bundle_path = os.path.join(_get_activities_path(), _get_bundle_dir()) + bundle_path = os.path.join(env.get_user_activities_dir(), _get_bundle_dir()) try: os.symlink(_get_source_path(), bundle_path) except OSError: |