# HG changeset patch # User Jeff Hammel # Date 1325095548 28800 # Node ID 2161425d0ab76747896700f1648f9cfa0d25c35b # Parent 042507e2bbe3545574d20d70f2cb9312d6c4dca7 whitespace cleanup + comments diff -r 042507e2bbe3 -r 2161425d0ab7 autobot/config.py --- a/autobot/config.py Thu Dec 22 16:25:35 2011 -0800 +++ b/autobot/config.py Wed Dec 28 10:05:48 2011 -0800 @@ -1,5 +1,7 @@ +#!/usr/bin/env python + """ -tools for interpolating buildbot config +tools for interpolating buildbot configuration """ import sys @@ -13,9 +15,11 @@ """ def __init__(self, filename): + + # read the .ini file self.parser = RawConfigParser() self.parser.read(filename) - + # get global information master = ':master:' self.master = self.section_dict(master) @@ -59,7 +63,7 @@ 'factories': _factories, 'platform': platform } continue - + # get factories self.args[section] = self.section_dict(section)