Skip to content
Browse files

Wrong name for the configuration variable

  • Loading branch information...
1 parent 7b75b44 commit ed521c043d2c38ebe0732e1801cc5d06ebc404cb Stephane Bortzmeyer committed Dec 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 sample-wsgi-dnslg-with-config-file.py
View
4 sample-wsgi-dnslg-with-config-file.py
@@ -32,7 +32,7 @@
print >>sys.stderr, "Cannot open configuration file %s" % config_file_name
sys.exit(1)
config.readfp(config_file)
-config.set('DEFAULT', 'forbidden_domains', '')
+config.set('DEFAULT', 'forbidden_suffixes', '')
if not config.has_section(SECTION):
config.add_section(SECTION)
email_admin = config.get(SECTION, 'email_administrator')
@@ -48,7 +48,7 @@
description_html = config.get(SECTION, 'description_html')
google_code = config.get(SECTION, 'code_google_webmasters')
edns_size = config.get(SECTION, 'size_edns')
-forbidden_str = config.get(SECTION, 'forbidden_domains')
+forbidden_str = config.get(SECTION, 'forbidden_suffixes')
forbidden = string.split(forbidden_str, ':')
if edns_size is None or edns_size == "":
edns_size = None

0 comments on commit ed521c0

Please sign in to comment.
Something went wrong with that request. Please try again.