diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-03-05 17:12:09 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-03-05 17:12:09 -0800 |
commit | 7e8623f06f1966e67dfa02f26e62cada632bc600 (patch) | |
tree | 30229a02071862b59f8efb5ff30b9f314538110f /paramiko/file.py | |
parent | b2be63ec623b5944f9b84cac8b8f41aeb2b42fb7 (diff) | |
download | paramiko-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.py | 24 |
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): """ |