Commit Graph
6 Commits
Author SHA1 Message Date
Michael Stone 1bf6cdaa81 Correct a typo in datastore.py so that Pippy can resume with data. 2007-11-12 16:52:01 -05:00
Michael Stone 8bd8ec6216 Improve error-handling during activity log-file creation. 2007-11-09 13:11:19 -05:00
Michael Stone 0a9676171d Improve ActivityFactory utility functions and reduce code-path duplication.
* Remove a race in open_log_file()

  * Make open_log_file return a path as well as a file-object so that
    Rainbow-launched activities can log to the same path that sugar-launched
    ones do.

  * Change the call to Rainbow so that it writes to the log-file provided by
    open_log_file()

  * Define SUGAR_BUNDLE_ID env variable and change the location of the check
    for /etc/olpc-security so that Rainbow doesn't have to search for or parse
    the activity bundle.

  * Remove import statements marked as unnecessary by pylint.

  * Fix up some whitespace issues.
2007-11-05 17:40:05 -05:00
Michael Stone 9c5755d85a Direct Rainbow to capture activity stdio output. 2007-10-10 19:23:59 -04:00
Michael Stone 46357bdc66 Fixes #3723, "Fix Rainbow/Sugar Integration." 2007-09-21 17:26:58 -04:00
Michael Stone a7b0e02aea Fixes to broken Rainbow calls in Shell service. 2007-09-11 12:39:42 -04:00