#7554 NORM 8.2.0 (: sugar.hardware.nmclient.Device() instances' get_colors() method should never raise()
Zarro Boogs per Child
bugtracker at laptop.org
Sun Jul 20 17:13:41 EDT 2008
#7554: sugar.hardware.nmclient.Device() instances' get_colors() method should
never raise()
----------------------+-----------------------------------------------------
Reporter: mtd | Owner: mtd
Type: defect | Status: new
Priority: normal | Milestone: 8.2.0 (was Update.2)
Component: sugar | Version: Git as of bug date
Resolution: | Keywords: 8.2.0:+ r-
Next_action: review | Verified: 0
Blockedby: | Blocking:
----------------------+-----------------------------------------------------
Changes (by marco):
* keywords: 8.2.0:+ r? => 8.2.0:+ r-
Comment:
Returning a random color sounds wrong to me. Perhaps it would be better to
return None (i.e. color is not known yet) and let the view deal with it?
--
Ticket URL: <http://dev.laptop.org/ticket/7554#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list