summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Reporting.py
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb@kaidan.im>2024-05-23 04:02:21 +0200
committerJonah BrĂ¼chert <jbb@kaidan.im>2024-05-23 04:31:59 +0200
commit5cd643861b48768a90788f9d6ad3bacf7566e586 (patch)
tree1195b2a0ea2ed08eabc7dfef0bbb9e5366c472e4 /src/lib/Bcfg2/Server/Plugins/Reporting.py
parent44af447d030e519c4ac22175507dac3e26ec4b05 (diff)
downloadbcfg2-5cd643861b48768a90788f9d6ad3bacf7566e586.tar.gz
bcfg2-5cd643861b48768a90788f9d6ad3bacf7566e586.tar.bz2
bcfg2-5cd643861b48768a90788f9d6ad3bacf7566e586.zip
Remove broken django version checks
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Reporting.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Reporting.py6
1 files changed, 1 insertions, 5 deletions
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