From 85d07faa0cf7a2cb264db8e88ebc4bc2fbed3db1 Mon Sep 17 00:00:00 2001 From: Matt Kemp Date: Thu, 12 Jun 2014 17:27:34 -0500 Subject: 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. --- src/lib/Bcfg2/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3-1-g7c22