summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/settings.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-04-26 12:13:04 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-04-26 12:13:04 -0500
commit25576cd076d66dfed4bbd98ce1bbb3bc86a6230e (patch)
treee27153c4735139f152442c3f1a6326fdd8134d8d /src/lib/Server/Reports/settings.py
parent7ed0493ee4af4ca14bb7642a29a66cd51f4d5836 (diff)
downloadbcfg2-25576cd076d66dfed4bbd98ce1bbb3bc86a6230e.tar.gz
bcfg2-25576cd076d66dfed4bbd98ce1bbb3bc86a6230e.tar.bz2
bcfg2-25576cd076d66dfed4bbd98ce1bbb3bc86a6230e.zip
Reports: Add full PY3K compatibility
Note that Django still doesn't yet support version 3 so this won't necessarily work until there is a compatible version of django available for use. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Server/Reports/settings.py')
-rw-r--r--src/lib/Server/Reports/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Reports/settings.py b/src/lib/Server/Reports/settings.py
index 121d55a27..0b9d25776 100644
--- a/src/lib/Server/Reports/settings.py
+++ b/src/lib/Server/Reports/settings.py
@@ -1,7 +1,7 @@
import django
# Django settings for bcfg2 reports project.
-from ConfigParser import ConfigParser, NoSectionError, NoOptionError
+from py3kcompat import ConfigParser
c = ConfigParser()
c.read(['/etc/bcfg2.conf', '/etc/bcfg2-web.conf'])