mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3099] sort.py breaks on older python3 versions #1939
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1939
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Dec 27, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3099
After building firejail from git I always run the
sort.pyscript from contrib to catch regressions. Usually I do this on my main Arch machine. That has python 3.8 and the script runs without issues. Recently I happened to run the checks on a Ubuntu 16.04 LTS machine, which has python 3.5 and saw it break:@rusty-snake Perhaps we can support the handy script on older python versions?
@rusty-snake commented on GitHub (Dec 28, 2019):
Yes, the only new python feature in this script are format-strings (3.6+) replacing these with the "old" .format works with 3.4 and 3.5 (only tested these two).
sort.py.patch.txt GitHub why is .patch denied? 🙀
@rusty-snake commented on GitHub (Dec 28, 2019):
8cd87fb5d6/contrib/sort.py (L22-L23)@ghost commented on GitHub (Dec 28, 2019):
@rusty-snake Thanks for the patch!