Update style issues

This commit is contained in:
Brian May 2022-04-24 17:37:10 +10:00
parent 0b267cdeff
commit 7d67231faf
3 changed files with 7 additions and 7 deletions

View File

@ -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: .

View File

@ -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:

View File

@ -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