[gsoc-admin] parse_event_config: Correct section usage



commit dd8bdf09efe4f811fe838b9afe181a51ad43509e
Author: Lasse Schuirmann <lasse schuirmann gmail com>
Date:   Wed Aug 12 12:32:58 2015 +0200

    parse_event_config: Correct section usage

 email/config.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/email/config.py b/email/config.py
index 905b93d..3b8b4c5 100644
--- a/email/config.py
+++ b/email/config.py
@@ -70,6 +70,6 @@ def parse_event_config(filename):
     config.read(filename)
     result = EventConfig()
     for section in config.sections():
-        result.append_from_section(section)
+        result.append_from_section(config[section])
 
     return result


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]