Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 8c6ee70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/bindings/python/MythTV/mythproto.py
Expand Up @@ -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.
Expand Down

0 comments on commit 8c6ee70

Please sign in to comment.