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:51:01 (GMT)
commit8741c3adc2afcd6c4b042b99520a4b029d026121 (patch)
treeb5495d9f55f7a768d58ad42843e47ee567947d6b
parentc42834e19857c4e79bd5600bd7c1768f34072d1d (diff)
Add flush() noop to FileTransfer class for Python file object compatibility.
-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 8f2779d..fc925f1 100644
--- a/mythtv/bindings/python/MythTV/mythproto.py
+++ b/mythtv/bindings/python/MythTV/mythproto.py
@@ -499,6 +499,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.