Skip to content

Commit

Permalink
Minor code reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Oct 26, 2009
1 parent 6d46ca6 commit 072df75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fabric/network.py
Expand Up @@ -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
Expand Down

0 comments on commit 072df75

Please sign in to comment.