From 25762220a35e7796abbddde041ac6569bbed92f7 Mon Sep 17 00:00:00 2001
From: Thomas Gibson <gibsonthomas1120@hotmail.com>
Date: Thu, 29 Apr 2021 15:02:59 -0500
Subject: [PATCH] Move sys import to top of module

---
 grudge/dof_desc.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/grudge/dof_desc.py b/grudge/dof_desc.py
index f3a567a3..4481f576 100644
--- a/grudge/dof_desc.py
+++ b/grudge/dof_desc.py
@@ -30,6 +30,7 @@ from meshmode.discretization.connection import \
 from meshmode.mesh import \
     BTAG_PARTITION, BTAG_ALL, BTAG_REALLY_ALL, BTAG_NONE
 from warnings import warn
+import sys
 
 
 __doc__ = """
@@ -320,8 +321,6 @@ def __getattr__(name):
     raise AttributeError(f"module {__name__} has no attribute {name}")
 
 
-import sys
-
 if sys.version_info < (3, 7):
     QTAG_NONE = DISCR_TAG_BASE
     QTAG_MODAL = DISCR_TAG_MODAL
-- 
GitLab