David Wilson
998a1209cc
issue #183 : make PasswordErrors subclass of StreamError.
8 years ago
David Wilson
1b93a4f51a
issue #141 : remove reference to incomplete change
8 years ago
David Wilson
587256bbce
issue #141 : unify connect deadline handling
...
Now there is a single deadline calculated by the parent.Stream
constructor, and reused for both SSH and sudo.
8 years ago
David Wilson
31065ffe4a
issue #143 : avoid long-form options in sudo.py.
8 years ago
David Wilson
88508fcb61
sudo: accept -n too (issue #108 )
8 years ago
David Wilson
9cfcf79f43
sudo: accept but discard -S option. fixes #108
8 years ago
David Wilson
235e1df987
sudo: support parsing sudo flags back out into parameters
8 years ago
David Wilson
ff617824a1
ansible: fix some flake8 errors
...
* Unused imports
* Undefined names in helpers.py
* Copyright header wrapping
8 years ago
Alex Willmer
227cd3aa60
ssh, sudo: Remove redundant else clause on bootstrap loop
...
Since the for loops don't contain any break statements the StreamErrors
will always be raised when the loop completes without the method
resturning.
See https://lgtm.com/rules/5980098/
Refs #61
8 years ago
David Wilson
b158259c86
Split up parent and master modules
...
Knocks 4kb off network footprint for a proxy connection.
8 years ago
David Wilson
326886832e
Add license text everywhere.
8 years ago
David Wilson
bbcf1a0bd4
Fix confusing return statements, closes #67 .
8 years ago
David Wilson
af6812b458
Fix context naming for sudo and via=.
8 years ago
David Wilson
dc446f9042
ssh: Learn to type passwords and supply pubkeys.
...
Now ssh requires a tty allocation. This presents a scalability problem,
a future version could selectively allocate a tty only if typing
passwords is desired.
Sudo's tty handling is now moved into mitogen.master.
8 years ago
David Wilson
e7ff6259a3
Initial commit.
8 years ago