mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-21 07:24:02 +01:00
Update style issues
This commit is contained in:
parent
0b267cdeff
commit
7d67231faf
@ -6,10 +6,10 @@ build:
|
||||
python: "3.9"
|
||||
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
configuration: docs/conf.py
|
||||
|
||||
python:
|
||||
install:
|
||||
- requirements: requirements.txt
|
||||
- method: setuptools
|
||||
path: .
|
||||
install:
|
||||
- requirements: requirements.txt
|
||||
- method: setuptools
|
||||
path: .
|
||||
|
@ -177,7 +177,7 @@ def connect(ssh_cmd, rhostport, python, stderr, options):
|
||||
# it is present.
|
||||
pycmd = ("P=python3; $P -V 2>%s || P=python; "
|
||||
"exec \"$P\" -c %s; exit 97") % \
|
||||
(os.devnull, quote(pyscript))
|
||||
(os.devnull, quote(pyscript))
|
||||
pycmd = ("/bin/sh -c {}".format(quote(pycmd)))
|
||||
|
||||
if password is not None:
|
||||
|
@ -16,7 +16,7 @@ def build_config(user_name):
|
||||
# sshuttle without needing to enter a sudo password. To use this
|
||||
# configuration, run 'visudo /etc/sudoers.d/sshuttle_auto' as root and
|
||||
# paste this text into the editor that it opens. If you want to give
|
||||
# multiple users these privilages, you may wish to use use different
|
||||
# multiple users these privileges, you may wish to use use different
|
||||
# filenames for each one (i.e., /etc/sudoers.d/sshuttle_auto_john).
|
||||
|
||||
# This configuration was initially generated by the
|
||||
|
Loading…
Reference in New Issue
Block a user