diff options
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/DBStats.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/DBStats.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/DBStats.py b/src/lib/Bcfg2/Server/Plugins/DBStats.py index 16e9e4a8a..b796b3431 100644 --- a/src/lib/Bcfg2/Server/Plugins/DBStats.py +++ b/src/lib/Bcfg2/Server/Plugins/DBStats.py @@ -5,10 +5,7 @@ import platform import sys import time -try: - from django.core.exceptions import MultipleObjectsReturned -except ImportError: - pass +from django.core.exceptions import MultipleObjectsReturned import Bcfg2.Server.Plugin from Bcfg2.Server.Reports.importscript import load_stat |