From c78a5856e88a67344cb47e170ec8e237df1fc2c6 Mon Sep 17 00:00:00 2001 From: James Hiscock Date: Wed, 17 Oct 2012 14:25:22 +1200 Subject: [PATCH] Update paramiko/file.py Added a closed property as an alternative accessor to BufferedFile's _closed property. --- paramiko/file.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paramiko/file.py b/paramiko/file.py index d4aec8e..7e2904e 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...