From da7a79cf21114a6013bcabdcd3d14b7e1449bfa3 Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Sun, 7 Aug 2022 00:00:51 -0400 Subject: [PATCH] Minor constant reorder for alphabetical --- django_dump_die/constants.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/django_dump_die/constants.py b/django_dump_die/constants.py index 89b5483..d8b64b2 100644 --- a/django_dump_die/constants.py +++ b/django_dump_die/constants.py @@ -11,16 +11,16 @@ from django.utils import timezone from pathlib import PosixPath, PurePath, PurePosixPath, PureWindowsPath # Imports that may not be accessible, depending on local python environment setup. -try: - from zoneinfo import ZoneInfo - ZONEINFO_PRESENT = True -except ImportError: - ZONEINFO_PRESENT = False try: import pytz PYTZ_PRESENT = True except ImportError: PYTZ_PRESENT = False +try: + from zoneinfo import ZoneInfo + ZONEINFO_PRESENT = True +except ImportError: + ZONEINFO_PRESENT = False # Simple types that do not need to be recursively inspected. -- GitLab