#10722 NORM Not Tri: os-builder via bitfrost returns stale data

Zarro Boogs per Child bugtracker at laptop.org
Mon Feb 28 16:56:04 EST 2011


#10722: os-builder via bitfrost returns stale data
------------------------------------+---------------------------------------
           Reporter:  jvonau        |       Owner:  cjb                                    
               Type:  defect        |      Status:  assigned                               
           Priority:  normal        |   Milestone:  Not Triaged                            
          Component:  build-system  |     Version:  1.5/1.0 Software Build os860 aka 10.1.3
         Resolution:                |    Keywords:                                         
        Next_action:  never set     |    Verified:  0                                      
Deployment_affected:                |   Blockedby:                                         
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by jvonau):

 using this code I can retrieve the latest revisions
 {{{
 #!/usr/bin/python
 import urllib
 import urllib2
 url = 'http://wiki.laptop.org/go/Activities/OLPCAU/10.1.3'
 user_agent = 'Mozilla/5.0 (X11; U; Linux i686) Gecko/20071127
 Firefox/2.0.0.11'
 values = {'name' : 'osbuilder',
           'location' : 'anywhere',
           'language' : 'Python' }
 data = urllib.urlencode(values)
 opener = urllib2.build_opener()
 opener.addheaders = [( 'User-Agent', user_agent )]
 response = opener.open(url)
 print response.read()
 }}}

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


More information about the Bugs mailing list