Permalink
Browse files

Minor code reformat

  • Loading branch information...
1 parent 6d46ca6 commit 072df754cf620754025cf3f90d1c52e0c29267dc @bitprophet bitprophet committed Oct 26, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 fabric/network.py
View
@@ -254,8 +254,8 @@ def prompt_for_password(previous=None, prompt=None):
from fabric.state import env
# Construct the prompt we will display to the user (using host if available)
if 'host' in env:
- base_password_prompt = "Password for %s" % join_host_strings(*normalize(
- env.host_string, omit_port=True))
+ host = join_host_strings(*normalize(env.host_string, omit_port=True))
+ base_password_prompt = "Password for %s" % host
else:
base_password_prompt = "Password"
password_prompt = base_password_prompt

0 comments on commit 072df75

Please sign in to comment.