From 243314992bcd94fc56f82b3ce4cd491c6deeb69c Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Tue, 29 Jun 2010 10:34:56 +0200 Subject: Minor bug fix (indentation error). --- pyAggr3g470r.py | 38 +++++++++++++++++++------------------- var/feed.lst | 3 +-- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 3b758484..1663d70c 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -871,25 +871,25 @@ class Root: del mon - def watch_base_classic(self): - """ - Monitor the base of feeds if the module gamin is not - installed. - """ - time.sleep(10) - old_size = 0 - try: - print "Watching %s" % utils.sqlite_base - while True: - time.sleep(2) - # very simple test - if os.path.getsize(utils.sqlite_base) != old_size: - print "The base of feeds (%s) has changed.\nReloading..." % utils.sqlite_base - self.update() - old_size = os.path.getsize(utils.sqlite_base) - except KeyboardInterrupt: - pass - print "Stop watching", utils.sqlite_base + def watch_base_classic(self): + """ + Monitor the base of feeds if the module gamin is not + installed. + """ + time.sleep(10) + old_size = 0 + try: + print "Watching %s" % utils.sqlite_base + while True: + time.sleep(2) + # very simple test + if os.path.getsize(utils.sqlite_base) != old_size: + print "The base of feeds (%s) has changed.\nReloading..." % utils.sqlite_base + self.update() + old_size = os.path.getsize(utils.sqlite_base) + except KeyboardInterrupt: + pass + print "Stop watching", utils.sqlite_base if __name__ == '__main__': diff --git a/var/feed.lst b/var/feed.lst index 7ea9051f..29bb04e0 100755 --- a/var/feed.lst +++ b/var/feed.lst @@ -24,5 +24,4 @@ http://www.jeffersonswheel.org/?feed=rss2 http://www.laquadrature.net/en/rss.xml http://static.fsf.org/fsforg/rss/blogs.xml http://esr.ibiblio.org/?feed=rss2 -http://www.maitre-eolas.fr/feed/atom -http://seclists.org/rss/fulldisclosure.rss +http://www.maitre-eolas.fr/feed/atom \ No newline at end of file -- cgit