From ea7d7360edc541d2a07ddfeb528065808f3d1d5d Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@member.fsf.org>
Date: Tue, 20 Oct 2009 13:14:18 +0000
Subject: Pippy module not in correct path #1058
---
pippy_app.py | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/pippy_app.py b/pippy_app.py
index abaf397..bd574b4 100644
a
|
b
|
class PippyActivity(ViewSourceActivity): |
305 | 305 | copy2('%s/activity.py' % get_bundle_path(), |
306 | 306 | '%s/tmp/activity.py' % self.get_activity_root()) |
307 | 307 | |
308 | | self._pid = self._vte.fork_command \ |
309 | | (command="/bin/sh", |
310 | | argv=["/bin/sh", "-c", |
311 | | "python %s; sleep 1" % pippy_app_name], |
312 | | envv=["PYTHONPATH=%s/library:%s" % (get_bundle_path(), os.getenv("PYTHONPATH", ""))], |
313 | | directory=get_bundle_path()) |
| 308 | self._pid = self._vte.fork_command( |
| 309 | command='env', |
| 310 | argv=['env', 'PYTHONPATH=%s/library:%s' % \ |
| 311 | (get_bundle_path(), os.getenv('PYTHONPATH', '')), |
| 312 | 'python', pippy_app_name], |
| 313 | directory=get_bundle_path()) |
314 | 314 | |
315 | 315 | def stopbutton_cb(self, button): |
316 | 316 | try: |