Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (9 sloc) 0.31 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
"""
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
Something went wrong with that request. Please try again.