ignore exception ref

This commit is contained in:
Matthias 2022-02-13 05:21:43 +01:00
parent e162eea9a4
commit 22bc0b3d90
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -20,7 +20,7 @@ def build_refs(apps, schema_editor):
if result and len(result.groups()) == 1: if result and len(result.groups()) == 1:
try: try:
ref = int(result.groups()[0]) ref = int(result.groups()[0])
except: except: # pragma: no cover
ref = 0 ref = 0
order.reference_int = ref order.reference_int = ref