diff options
author | cedricbonhomme <devnull@localhost> | 2010-06-29 10:34:56 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-06-29 10:34:56 +0200 |
commit | 243314992bcd94fc56f82b3ce4cd491c6deeb69c (patch) | |
tree | a778b81917be287fdef632baa721676e0cf00568 | |
parent | Bug fix line 234 of utils.py. append() replaced by extend() when searching fo... (diff) | |
download | newspipe-243314992bcd94fc56f82b3ce4cd491c6deeb69c.tar.gz newspipe-243314992bcd94fc56f82b3ce4cd491c6deeb69c.tar.bz2 newspipe-243314992bcd94fc56f82b3ce4cd491c6deeb69c.zip |
Minor bug fix (indentation error).
-rwxr-xr-x | pyAggr3g470r.py | 38 | ||||
-rwxr-xr-x | 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 |