3 Commits

Autor SHA1 Nachricht Datum
  Ben Kurtovic 05991cf0dd
Merge pull request #70 from offa/py313 vor 1 Monat
  offa b48c59c378 Use shlex.quote() for Python 3.13 compatibility vor 1 Monat
  offa 270c32e565 Add Python 3.13 CI build vor 1 Monat
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  1. +1
    -1
      .github/workflows/ci.yml
  2. +1
    -2
      gitup/update.py

+ 1
- 1
.github/workflows/ci.yml Datei anzeigen

@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
name: python-${{ matrix.python }} name: python-${{ matrix.python }}
steps: steps:
- name: Checkout - name: Checkout


+ 1
- 2
gitup/update.py Datei anzeigen

@@ -7,7 +7,6 @@ from __future__ import print_function


from glob import glob from glob import glob
import os import os
import pipes
import re import re
import shlex import shlex


@@ -85,7 +84,7 @@ def _fetch_remotes(remotes, prune):
msg = re.sub(r"\s+", " ", err.stderr).strip() msg = re.sub(r"\s+", " ", err.stderr).strip()
msg = re.sub(r"^stderr: *'(fatal: *)?", "", msg).strip("'") msg = re.sub(r"^stderr: *'(fatal: *)?", "", msg).strip("'")
if not msg: if not msg:
command = " ".join(pipes.quote(arg) for arg in err.command)
command = " ".join(shlex.quote(arg) for arg in err.command)
msg = "{0} failed with status {1}.".format(command, err.status) msg = "{0} failed with status {1}.".format(command, err.status)
elif not msg.endswith("."): elif not msg.endswith("."):
msg += "." msg += "."


Laden…
Abbrechen
Speichern