summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-08-25 18:27:58 +0100
committerLars Wirzenius <liw@liw.fi>2013-08-25 18:27:58 +0100
commit8b4ce6164032d9dae02f22c93a399641225229ae (patch)
tree138cfd7adb547269f5d6a0db11ad268ccdd00618
parent6cf9b0c9a41139163b32201dc902e53c296aaffa (diff)
downloadobnam-8b4ce6164032d9dae02f22c93a399641225229ae.tar.gz
Remove portability hack
ttystatus has had flush for a while now, so we don't need to have obnam do this checking anymore.
-rw-r--r--obnamlib/plugins/backup_plugin.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/obnamlib/plugins/backup_plugin.py b/obnamlib/plugins/backup_plugin.py
index ed476e00..409651cf 100644
--- a/obnamlib/plugins/backup_plugin.py
+++ b/obnamlib/plugins/backup_plugin.py
@@ -243,11 +243,6 @@ class BackupPlugin(obnamlib.ObnamPlugin):
'You need to specify it on the command '
'line or a configuration file.')
- # This is ugly, but avoids having to update the dependency on
- # ttystatus yet again.
- if not hasattr(self.app.ts, 'flush'):
- self.app.ts.flush = lambda: None
-
self.started = time.time()
self.configure_ttystatus_for_backup()
self.what('setting up')