From 5cd643861b48768a90788f9d6ad3bacf7566e586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20Br=C3=BCchert?= Date: Thu, 23 May 2024 04:02:21 +0200 Subject: Remove broken django version checks --- src/lib/Bcfg2/Server/Plugins/Reporting.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/Bcfg2/Server/Plugins/Reporting.py') diff --git a/src/lib/Bcfg2/Server/Plugins/Reporting.py b/src/lib/Bcfg2/Server/Plugins/Reporting.py index e372006c7..fcce10fc8 100644 --- a/src/lib/Bcfg2/Server/Plugins/Reporting.py +++ b/src/lib/Bcfg2/Server/Plugins/Reporting.py @@ -11,11 +11,7 @@ from Bcfg2.Server.Plugin import Statistics, PullSource, Threaded, \ try: import django - if django.VERSION[0] == 1 and django.VERSION[1] >= 7: - HAS_REPORTING = True - else: - import south # pylint: disable=W0611 - HAS_REPORTING = True + HAS_REPORTING = True except ImportError: HAS_REPORTING = False -- cgit v1.2.3-1-g7c22