~ubuntu-marketing/ubuntu-stats/devel

« back to all changes in this revision

Viewing changes to backend/plugins/jsoncache/JSONCache.py

  • Committer: Felipe Lerena
  • Date: 2007-08-24 02:21:59 UTC
  • Revision ID: felipelerena@gmail.com-20070824022159-ezqac75n291bgv0k
I have added lots of comments to the python code, this solves bug #122008

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
"""
2
2
author: Felipe Lerena <felipelerena@gmail.com>
 
3
description: make the jasons and put them in the DBS
3
4
"""
4
5
import DBConnect, time
5
6
from htmlentitydefs import codepoint2name as cp2nm, entitydefs as nm2cp
167
168
                    query = 'UPDATE packages_commits SET cached = 1 WHERE id_packages_commits = %d' % row[0]
168
169
                    cursor3.execute(query)    
169
170
                
170
 
JSONCache().makeCache()
 
 
b'\\ No newline at end of file'
 
171
JSONCache().makeCache()