Skip to content
Browse files

PEP8 tweaks

  • Loading branch information...
1 parent 9f650d7 commit 7d477e3b95300b408e07842d6d84c4dc8d580976 @bitprophet bitprophet committed Oct 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 fabric/io.py
View
6 fabric/io.py
@@ -94,7 +94,7 @@ def loop(self):
printable_bytes = printable_bytes[1:]
seen_cr = False
- while _has_newline(printable_bytes) and printable_bytes!="":
+ while _has_newline(printable_bytes) and printable_bytes != "":
# at most 1 split !
cr = re.search("(\r\n|\r|\n)", printable_bytes)
if cr is None:
@@ -109,10 +109,10 @@ def loop(self):
end_of_line = ''
if self.linewise:
- self._flush("".join(line)+end_of_line+"\n")
+ self._flush("".join(line) + end_of_line + "\n")
line = []
else:
- self._flush(end_of_line+"\n")
+ self._flush(end_of_line + "\n")
initial_prefix_printed = False
if self.linewise:

0 comments on commit 7d477e3

Please sign in to comment.
Something went wrong with that request. Please try again.