Update paramiko/file.py

Added a closed property as an alternative accessor to BufferedFile's _closed property.
This commit is contained in:
James Hiscock 2012-10-17 14:25:22 +12:00
parent 786920a320
commit c78a5856e8
1 changed files with 4 additions and 0 deletions

View File

@ -354,6 +354,10 @@ class BufferedFile (object):
"""
return self
@property
def closed(self):
return self._closed
### overrides...