summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2012-11-29 08:53:53 -0800
committerJeff Forcier <jeff@bitprophet.org>2012-11-29 08:53:53 -0800
commitb9c39fc1d2d634967b125f776347b422e7a96ab4 (patch)
tree7020993dff56221d76a235ca38559ed5a5e9d34d
parent2575b3efc48cb9f42c3105015284b9afd9c67625 (diff)
parentc78a5856e88a67344cb47e170ec8e237df1fc2c6 (diff)
Merge pull request #95 from Bockit/master
Add a closed property to BufferedFile
-rw-r--r--paramiko/file.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/paramiko/file.py b/paramiko/file.py
index d4aec8e3..7e2904e1 100644
--- a/paramiko/file.py
+++ b/paramiko/file.py
@@ -354,6 +354,10 @@ class BufferedFile (object):
"""
return self
+ @property
+ def closed(self):
+ return self._closed
+
### overrides...