#5254 NORM Never A: source and description should be added to the model

Zarro Boogs per Child bugtracker at laptop.org
Sat Dec 1 13:27:53 EST 2007


#5254: source and description should be added to the model
------------------------+---------------------------------------------------
  Reporter:  tomeu      |       Owner:  tomeu         
      Type:  defect     |      Status:  new           
  Priority:  normal     |   Milestone:  Never Assigned
 Component:  datastore  |     Version:                
Resolution:             |    Keywords:  Update.1?     
  Verified:  0          |  
------------------------+---------------------------------------------------

Comment(by tomeu):

 'source' has been added as part of #4662.

 The following patch adds 'description':

 {{{
 diff --git a/src/olpc/datastore/backingstore.py
 b/src/olpc/datastore/backingstore.py
 index 12dc582..1b9cce5 100644
 --- a/src/olpc/datastore/backingstore.py
 +++ b/src/olpc/datastore/backingstore.py
 @@ -18,7 +18,6 @@ import re
  import sha
  import subprocess
  import time
 -import threading
  import errno
  import shutil
  import urllib
 diff --git a/src/olpc/datastore/model.py b/src/olpc/datastore/model.py
 index acabae3..bb8228a 100644
 --- a/src/olpc/datastore/model.py
 +++ b/src/olpc/datastore/model.py
 @@ -400,5 +400,6 @@ defaultModel = Model().addFields(
      ('preview', 'external'),
      ('buddies', 'text'),
      ('source', 'text'),
 +    ('description', 'text'),
      )
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/5254#comment:1>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list