summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Wagner <rwagner@mythtv.org>2011-04-17 05:51:01 (GMT)
committer Raymond Wagner <rwagner@mythtv.org>2011-04-17 05:52:25 (GMT)
commit8c6ee70cf042a038139de067bced58a730f6a60f (patch)
treead363a327653bd6cc985d3b04339fbfebbdd554e
parent4693357f1e34025b2652e6e17d319ab7c8b850a0 (diff)
Add flush() noop to FileTransfer class for Python file object compatibility.
(cherry picked from commit 8741c3adc2afcd6c4b042b99520a4b029d026121)
-rw-r--r--mythtv/bindings/python/MythTV/mythproto.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mythtv/bindings/python/MythTV/mythproto.py b/mythtv/bindings/python/MythTV/mythproto.py
index bdbfb76..0abd811 100644
--- a/mythtv/bindings/python/MythTV/mythproto.py
+++ b/mythtv/bindings/python/MythTV/mythproto.py
@@ -502,6 +502,9 @@ class FileTransfer( BEEvent ):
str(self), offset, whence)
self._pos = self.joinInt(*res)
+ def flush(self):
+ pass
+
class RecordFileTransfer( FileTransfer ):
"""
A connection to mythbackend intended for file transfers.