Update paramiko/file.py
Added a closed property as an alternative accessor to BufferedFile's _closed property.
This commit is contained in:
parent
786920a320
commit
c78a5856e8
|
@ -354,6 +354,10 @@ class BufferedFile (object):
|
|||
"""
|
||||
return self
|
||||
|
||||
@property
|
||||
def closed(self):
|
||||
return self._closed
|
||||
|
||||
|
||||
### overrides...
|
||||
|
||||
|
|
Loading…
Reference in New Issue