2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 20:16:44 +00:00

Remove debug messages

This commit is contained in:
Oliver 2021-11-10 11:30:11 +11:00
parent ba11a73f91
commit 919f182c25

View File

@ -20,7 +20,7 @@ def update_serials(apps, schema_editor):
serial = 0 serial = 0
result = re.match(r"^(\d+)", item.serial or "") result = re.match(r"^(\d+)", str(item.serial))
if result and len(result.groups()) == 1: if result and len(result.groups()) == 1:
try: try:
@ -30,7 +30,6 @@ def update_serials(apps, schema_editor):
item.serial_int = serial item.serial_int = serial
print(item, item.serial, '->', item.serial_int)
item.save() item.save()