Skip to content

Commit

Permalink
Add flush() noop to FileTransfer class for Python file object compati…
Browse files Browse the repository at this point in the history
…bility.
  • Loading branch information
wagnerrp committed Apr 17, 2011
1 parent c42834e commit 8741c3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/bindings/python/MythTV/mythproto.py
Expand Up @@ -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.
Expand Down

0 comments on commit 8741c3a

Please sign in to comment.