summaryrefslogtreecommitdiff
path: root/paramiko/file.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-03-05 17:12:09 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-03-05 17:12:09 -0800
commit7e8623f06f1966e67dfa02f26e62cada632bc600 (patch)
tree30229a02071862b59f8efb5ff30b9f314538110f /paramiko/file.py
parentb2be63ec623b5944f9b84cac8b8f41aeb2b42fb7 (diff)
downloadparamiko-7e8623f06f1966e67dfa02f26e62cada632bc600.tar.gz
Fix a bunch of indentation errors.
Maybe that whitespace merge flag was not so great an idea.
Diffstat (limited to 'paramiko/file.py')
-rw-r--r--paramiko/file.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/paramiko/file.py b/paramiko/file.py
index 9f002423..69b730e2 100644
--- a/paramiko/file.py
+++ b/paramiko/file.py
@@ -86,20 +86,20 @@ class BufferedFile (object):
return
if PY2:
- def next(self):
- """
- Returns the next line from the input, or raises
- `~exceptions.StopIteration` when EOF is hit. Unlike Python file
- objects, it's okay to mix calls to `next` and `readline`.
+ def next(self):
+ """
+ Returns the next line from the input, or raises
+ `~exceptions.StopIteration` when EOF is hit. Unlike Python file
+ objects, it's okay to mix calls to `next` and `readline`.
- :raises StopIteration: when the end of the file is reached.
+ :raises StopIteration: when the end of the file is reached.
- :return: a line (`str`) read from the file.
- """
- line = self.readline()
- if not line:
- raise StopIteration
- return line
+ :return: a line (`str`) read from the file.
+ """
+ line = self.readline()
+ if not line:
+ raise StopIteration
+ return line
else:
def __next__(self):
"""