Skip to content
Snippets Groups Projects
Commit 0b7e186e authored by Steven Murray's avatar Steven Murray
Browse files

Improved the error reporting of cta-fst-gcd with respect to configuration parsing errors.

parent 7942e5d7
No related branches found
No related tags found
No related merge requests found
......@@ -393,10 +393,9 @@ def parseconf(conffile):
conffp = open(conffile)
parser = ConfigParser.ConfigParser()
parser.readfp(conffp)
try:
parser = ConfigParser.ConfigParser()
parser.readfp(conffp)
config = GcConfig()
config.logfile = parser.get('main', 'logfile')
config.mgmhost = parser.get('main', 'mgmhost')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment