Permalink
Browse files

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

…bility.
  • Loading branch information...
1 parent c42834e commit 8741c3adc2afcd6c4b042b99520a4b029d026121 @wagnerrp wagnerrp committed Apr 17, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 mythtv/bindings/python/MythTV/mythproto.py
@@ -499,6 +499,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 8741c3a

Please sign in to comment.