summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-11-23 16:34:01 +0000
committerLars Wirzenius <liw@liw.fi>2012-11-23 16:34:01 +0000
commite80978c7abb75f4fb4e789c358513e53b828688a (patch)
tree97c34d2cc7b7ee34f81a50da25b3ded3a525b770
parent240018c9054457781da6d8795e809d16dde60667 (diff)
downloadobnam-e80978c7abb75f4fb4e789c358513e53b828688a.tar.gz
Remove flushing of ttystatus
It's disturbing and makes things go slower.
-rw-r--r--obnamlib/plugins/fsck_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/obnamlib/plugins/fsck_plugin.py b/obnamlib/plugins/fsck_plugin.py
index 0d7a3889..cfa48d0d 100644
--- a/obnamlib/plugins/fsck_plugin.py
+++ b/obnamlib/plugins/fsck_plugin.py
@@ -341,7 +341,7 @@ class FsckPlugin(obnamlib.ObnamPlugin):
logging.debug('doing: %s' % str(work))
self.app.ts['item'] = work
self.app.ts.increase('this_item', 1)
- self.app.ts.flush()
+# self.app.ts.flush()
pos = len(self.work_items)
for more in work.do() or []:
self.add_item(more, pos=pos)
@@ -372,7 +372,7 @@ class FsckPlugin(obnamlib.ObnamPlugin):
else:
self.work_items.insert(0, work)
self.app.ts.increase('items', 1)
- self.app.ts.flush()
+# self.app.ts.flush()
def error(self, msg):
self.app.ts.error(msg)