Ver código fonte

Fix issue with cli on python 3.5

pull/478/head
Guillaume Vincent 5 anos atrás
pai
commit
84df73bcc4
3 arquivos alterados com 8 adições e 4 exclusões
  1. +6
    -2
      .github/workflows/main.yml
  2. +1
    -1
      cli/lesspass/cli.py
  3. +1
    -1
      cli/lesspass/clipboard.py

+ 6
- 2
.github/workflows/main.yml Ver arquivo

@@ -24,11 +24,15 @@ jobs:

test-python-cli:
runs-on: ubuntu-latest
strategy:
max-parallel: 3
matrix:
python-version: [3.5, 3.6, 3.7]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.x'
python-version: ${{ matrix.python-version }}
- name: test python cli
run: |
cd cli
@@ -44,7 +48,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.x'
python-version: "3.6"
- name: test python backend
run: |
cd containers/backend


+ 1
- 1
cli/lesspass/cli.py Ver arquivo

@@ -79,7 +79,7 @@ def parse_args(args):
"--copy",
dest="clipboard",
action="store_true",
help="copy to password to clipboard",
help="copy the password to clipboard",
)

lowercase_group = parser.add_mutually_exclusive_group()


+ 1
- 1
cli/lesspass/clipboard.py Ver arquivo

@@ -26,7 +26,7 @@ def get_system_copy_command():


def _popen(args, **kwargs):
return subprocess.Popen(args, stdin=subprocess.PIPE, encoding="utf8")
return subprocess.Popen(args, stdin=subprocess.PIPE)


commands = {


Carregando…
Cancelar
Salvar