Permalink
Browse files

put newline in prompt directly

  • Loading branch information...
Thomas Vander Stichele
Thomas Vander Stichele committed Nov 10, 2012
1 parent 6a448b1 commit 57bd0be45c0edd52c013375a381549a5c6ffe7a0
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/mushin/command/replicate.py
@@ -57,9 +57,8 @@ def doLater(self, args):
parsed = urlparse.urlparse(url)
password = None
if parsed.username and not parsed.password:
- self.stdout.write('\n')
password = c.getPassword(
- prompt='Password for target database %s: ' % url)
+ prompt='\nPassword for target database %s: ' % url)
jane = urlrewrite.rewrite(url, hostname=HOST, port=PORT,
password=password, path='/' + DB)

0 comments on commit 57bd0be

Please sign in to comment.