]> mj.ucw.cz Git - moe.git/blobdiff - t/moe/eval.py
Update makefile
[moe.git] / t / moe / eval.py
index 9a964ffb9a269f98bf101976ef02d9feeab70564..1e54b4ee270e387cfd7bb53090f282a43fbaaaf7 100644 (file)
@@ -43,8 +43,7 @@ class Eval:
        
        # load config file
        self.config.fix('CONFIG')
-       with open(self['CONFIG'], 'r') as f:
-         self.config.parse(f, source=self['CONFIG'], level=30)
+       self.config.parse_file(self['CONFIG'], level=30)
        # fix variables
        self.config.fix(['LOG', 'USER_LOG', 'VERBOSE', 'HOME', 'DEBUG_LEVEL', 'TDIR'])
        # start logging