Skip to content

Commit 05991cf

Browse files
authored
Merge pull request #70 from offa/py313
Python 3.13 support
2 parents ddea6af + b48c59c commit 05991cf

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
10+
python: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
1111
name: python-${{ matrix.python }}
1212
steps:
1313
- name: Checkout

gitup/update.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from glob import glob
99
import os
10-
import pipes
1110
import re
1211
import shlex
1312

@@ -85,7 +84,7 @@ def _get_name(ref):
8584
msg = re.sub(r"\s+", " ", err.stderr).strip()
8685
msg = re.sub(r"^stderr: *'(fatal: *)?", "", msg).strip("'")
8786
if not msg:
88-
command = " ".join(pipes.quote(arg) for arg in err.command)
87+
command = " ".join(shlex.quote(arg) for arg in err.command)
8988
msg = "{0} failed with status {1}.".format(command, err.status)
9089
elif not msg.endswith("."):
9190
msg += "."

0 commit comments

Comments
 (0)