~ubuntu-marketing/ubuntu-stats/devel

« back to all changes in this revision

Viewing changes to backend/plugins/textcache/TextCache.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
# coding: latin-1
2
2
"""
3
3
author: Felipe Lerena <felipelerena@gmail.com>
 
4
generates 2 text files whith thw json cached data one with the initial data of all the boxes and one with the data update for the next minute.
 
5
This is intended to be called every 1 minute
4
6
"""
5
7
import DBConnect
6
8
class TextCache:
62
64
        f.close()
63
65
    
64
66
TextCache().makeLongCache()
65
 
TextCache().makeShortCache()
 
 
b'\\ No newline at end of file'
 
67
TextCache().makeShortCache()