summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Kemp <matt@mattikus.com>2014-06-12 17:27:34 -0500
committerMatt Kemp <matt@mattikus.com>2014-06-12 17:27:34 -0500
commit85d07faa0cf7a2cb264db8e88ebc4bc2fbed3db1 (patch)
tree2653a5e528946e52425b6548e7c8a1e9310df72a
parent9b36d0bf226e19baf50c45faac601effb8c17090 (diff)
downloadbcfg2-85d07faa0cf7a2cb264db8e88ebc4bc2fbed3db1.tar.gz
bcfg2-85d07faa0cf7a2cb264db8e88ebc4bc2fbed3db1.tar.bz2
bcfg2-85d07faa0cf7a2cb264db8e88ebc4bc2fbed3db1.zip
Fix email reporting bug
This fixes a subtle bug by enforcing that it's a tuple of 2-tuples rather than just a single 2-tuple.
-rw-r--r--src/lib/Bcfg2/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/settings.py b/src/lib/Bcfg2/settings.py
index 834b04d36..2c5466abb 100644
--- a/src/lib/Bcfg2/settings.py
+++ b/src/lib/Bcfg2/settings.py
@@ -125,7 +125,7 @@ def read_config(cfile=DEFAULT_CONFIG, repo=None, quiet=False):
# set up basic defaults. this lets manage.py work in all cases
read_config(quiet=True)
-ADMINS = (('Root', 'root'))
+ADMINS = (('Root', 'root'),)
MANAGERS = ADMINS
# Language code for this installation. All choices can be found here: