Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't let empty prefix + empty buffer trigger the newline

  • Loading branch information...
commit 97abbddb9be9dbc9a6f3385916e9aa5b58b9e3e6 1 parent 0f1de1c
@bitprophet bitprophet authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  fabric/io.py
View
2  fabric/io.py
@@ -148,7 +148,7 @@ def loop(self):
# Print trailing new line if the last thing we printed was our line
# prefix.
- if "".join(self.write_buffer) == self.prefix:
+ if self.prefix and "".join(self.write_buffer) == self.prefix:
self._flush('\n')
def prompt(self):
Please sign in to comment.
Something went wrong with that request. Please try again.