Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor code reformat

  • Loading branch information...
commit 072df754cf620754025cf3f90d1c52e0c29267dc 1 parent 6d46ca6
@bitprophet bitprophet authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 fabric/network.py
View
4 fabric/network.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.