mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-09 11:46:26 +00:00
upgrade to pyhton 3.9 syntax
using pyupgrade
This commit is contained in:
11 files changed
+16
-18
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user