From e736a4cedbb01a3954b927978d1d0f617d3db04d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 14 Jul 2015 21:22:43 -0400 Subject: Fix line endings, again. --- cbc/build.py | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'cbc/build.py') diff --git a/cbc/build.py b/cbc/build.py index 7875c7d..5f3b9eb 100644 --- a/cbc/build.py +++ b/cbc/build.py @@ -1,29 +1,29 @@ -''' NOTES: -I'm not sure how I want the build system to work yet. - -Maybe I want: - Controller -> CONFIG_FILES as Task -> Monitor each Task - -* How should I reliably weigh tasks? This part may get tedious if the weights -are in the configuration files. - - * I could use the old 000filename.conf style... - * weight= in a config -''' -import os -from configparser import SafeConfigParser, ExtendedInterpolation - -class Controller(object): - def __init__(self): - pass - - -class Task(object): - def __init__(self, filename): - self.config = SafeConfigParser(interpolation=ExtendedInterpolation(), allow_no_value=True) - - def check_config(self): - pass - - def run(self): +''' NOTES: +I'm not sure how I want the build system to work yet. + +Maybe I want: + Controller -> CONFIG_FILES as Task -> Monitor each Task + +* How should I reliably weigh tasks? This part may get tedious if the weights +are in the configuration files. + + * I could use the old 000filename.conf style... + * weight= in a config +''' +import os +from configparser import SafeConfigParser, ExtendedInterpolation + +class Controller(object): + def __init__(self): + pass + + +class Task(object): + def __init__(self, filename): + self.config = SafeConfigParser(interpolation=ExtendedInterpolation(), allow_no_value=True) + + def check_config(self): + pass + + def run(self): pass -- cgit