Update of /cvsroot/pybot/pybot
In directory sc8-pr-cvs1:/tmp/cvs-serv4664
Modified Files:
ChangeLog pybot.conf pybot.py
Log Message:
- Fixed bugs in the recently introduced functionality.
- Made plock.py and freshmeat.py get configuration from the config file.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pybot/pybot/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ChangeLog 8 May 2003 18:30:59 -0000 1.9
--- ChangeLog 8 May 2003 19:11:33 -0000 1.10
***************
*** 10,13 ****
--- 10,15 ----
* modules/modulecontrol.py: Adopted re system, and added a command
to show loaded modules.
+ * modules/{freshmeat.py,plock.py}: Get static configuration from
+ config file.
2002-06-19 Gustavo Niemeyer <nie...@co...>
Index: pybot.conf
===================================================================
RCS file: /cvsroot/pybot/pybot/pybot.conf,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pybot.conf 8 May 2003 18:30:59 -0000 1.3
--- pybot.conf 8 May 2003 19:11:34 -0000 1.4
***************
*** 1,3 ****
! [DEFAULT]
[infopack]
--- 1,11 ----
! ; In this file are maintained the static configurations of pybot.
! ;
! ; %(datadir)s is dependent on the path pybot.conf is found:
! ;
! ; pybot.conf %(datadir)s
! ; --------------- --------------
! ; /etc/pybot.conf -> /var/lib/pybot/
! ; ./pybot.conf -> ./data/
! ; ~/.pybot/config -> ~/.pybot/data/
[infopack]
***************
*** 8,10 ****
[sqlite]
! logfile = %(datadir)s/sqlite.db
--- 16,28 ----
[sqlite]
! path = %(datadir)s/sqlite.db
!
! [freshmeat]
! url = http://freshmeat.net/backend/recentnews.txt
! proxy = http://proxy.conectiva:3128
! interval = 10
!
! [plocks]
! dirpath = /cnc/distro/plocks/
!
! ; vim:ft=dosini
Index: pybot.py
===================================================================
RCS file: /cvsroot/pybot/pybot/pybot.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pybot.py 4 Dec 2001 00:57:37 -0000 1.1
--- pybot.py 8 May 2003 19:11:34 -0000 1.2
***************
*** 22,25 ****
--- 22,26 ----
import sys
import os
+ import time
def main():
***************
*** 33,36 ****
--- 34,38 ----
if ret != 0:
break
+ time.sleep(5)
if __name__ == "__main__":
|