Permalink
Browse files

Add flush() noop to FileTransfer class for Python file object compati…

…bility.

(cherry picked from commit 8741c3a)
  • Loading branch information...
wagnerrp committed Apr 17, 2011
1 parent 4693357 commit 8c6ee70cf042a038139de067bced58a730f6a60f
Showing with 3 additions and 0 deletions.
  1. +3 −0 mythtv/bindings/python/MythTV/mythproto.py
@@ -502,6 +502,9 @@ def seek(self, offset, whence=0):
str(self), offset, whence)
self._pos = self.joinInt(*res)
+ def flush(self):
+ pass
+
class RecordFileTransfer( FileTransfer ):
"""
A connection to mythbackend intended for file transfers.

0 comments on commit 8c6ee70

Please sign in to comment.