[Bugs] #1317 UNSP: check for Rainbow binaries before trying to use them
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Sun Sep 13 04:44:23 EDT 2009
#1317: check for Rainbow binaries before trying to use them
------------------------------------------+---------------------------------
Reporter: sascha_silbe | Owner: sascha_silbe
Type: defect | Status: accepted
Priority: Unspecified by Maintainer | Milestone: 0.86
Component: sugar-toolkit | Version: Git as of bugdate
Severity: Unspecified | Resolution:
Keywords: r? | Distribution: Unspecified
Status_field: Assigned |
------------------------------------------+---------------------------------
Comment(by tomeu):
Replying to [comment:4 sascha_silbe]:
> _rainbow_enabled is an instance (not class) attribute because it
executes a binary (didn't want to add a function to replicate exec*p()
behaviour), so is quite expensive. Storing a boolean is quite cheap OTOH.
That class seems to be instantiated every time we want to launch an
activity, so you aren't saving any exec calls.
--
Ticket URL: <http://dev.sugarlabs.org/ticket/1317#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list