From 1c5f5625992d04acfe0a8952c678f4fd83756da9 Mon Sep 17 00:00:00 2001 From: cuixucui <350255958@qq.com> Date: Sun, 28 Jun 2020 15:56:06 +0800 Subject: [PATCH] Code specification rectification --- hwcompatible/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwcompatible/job.py b/hwcompatible/job.py index 1239dae..a7243fd 100755 --- a/hwcompatible/job.py +++ b/hwcompatible/job.py @@ -83,7 +83,7 @@ class Job(object): for thing in dir(module): test_class = getattr(module, thing) try: - from types import ClassType as classtype + from types import ClassType as ct except ImportError: ct = type if isinstance(test_class, ct) and issubclass(test_class, Test): -- GitLab