2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

upgrade to pyhton 3.9 syntax

using pyupgrade
This commit is contained in:
Matthias
2022-05-01 21:53:12 +02:00
parent b59a4d53f0
commit d05472b30c
11 changed files with 16 additions and 18 deletions

View File

@ -53,7 +53,7 @@ def get_next_build_number():
build = Build.objects.exclude(reference=None).last()
attempts = set([build.reference])
attempts = {build.reference}
reference = build.reference