Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity/bundle.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-09 13:57:54 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-09 13:57:54 (GMT)
commit57c928916ca7cdacd728834a9b59ecc33b55339e (patch)
tree2cc618248d665cde0790853d0d169754271fd21c /sugar/activity/bundle.py
parenta380b7f915ca32293315176027f835fb739bb86b (diff)
Refactor sugar.env and paths
Diffstat (limited to 'sugar/activity/bundle.py')
-rw-r--r--sugar/activity/bundle.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sugar/activity/bundle.py b/sugar/activity/bundle.py
index 283204f..8980a11 100644
--- a/sugar/activity/bundle.py
+++ b/sugar/activity/bundle.py
@@ -44,8 +44,7 @@ class Bundle:
if cp.has_option(section, 'class'):
self._class = cp.get(section, 'class')
self._exec = '%s %s --bundle-path="%s"' % (
- os.path.join(env.get_shell_bin_dir(), _PYTHON_FACTORY),
- self._class, self.get_path())
+ env.get_bin_path(_PYTHON_FACTORY), self._class, self.get_path())
elif cp.has_option(section, 'exec'):
self._class = None
self._exec = cp.get(section, 'exec')