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