aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-06-29 10:34:56 +0200
committercedricbonhomme <devnull@localhost>2010-06-29 10:34:56 +0200
commit243314992bcd94fc56f82b3ce4cd491c6deeb69c (patch)
treea778b81917be287fdef632baa721676e0cf00568 /pyAggr3g470r.py
parentBug fix line 234 of utils.py. append() replaced by extend() when searching fo... (diff)
downloadnewspipe-243314992bcd94fc56f82b3ce4cd491c6deeb69c.tar.gz
newspipe-243314992bcd94fc56f82b3ce4cd491c6deeb69c.tar.bz2
newspipe-243314992bcd94fc56f82b3ce4cd491c6deeb69c.zip
Minor bug fix (indentation error).
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py38
1 files changed, 19 insertions, 19 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__':
bgstack15