Преглед на файлове

Fix issue with cli on python 3.5

pull/478/head
Guillaume Vincent преди 5 години
родител
ревизия
84df73bcc4
променени са 3 файла, в които са добавени 8 реда и са изтрити 4 реда
  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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

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


Зареждане…
Отказ
Запис