Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (9 sloc) 0.31 kB
"""
Common authentication subroutines. Primarily for internal use.
"""
def get_password():
from fabric.state import env
return env.passwords.get(env.host_string, env.password)
def set_password(password):
from fabric.state import env
env.password = env.passwords[env.host_string] = password
Jump to Line
Something went wrong with that request. Please try again.