From 425f61b97305e9a44d9f31c8a82c633c95f61edc Mon Sep 17 00:00:00 2001 From: James Bowes Date: Thu, 20 Sep 2007 18:27:11 -0400 Subject: Catch FuncException when the config file is missing and exit gracefully --- server/config_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/config_data.py') diff --git a/server/config_data.py b/server/config_data.py index b9a4bc8..7ace8ca 100755 --- a/server/config_data.py +++ b/server/config_data.py @@ -35,7 +35,7 @@ class Config: def read(self): if not os.path.exists(CONFIG_FILE): - raise FuncException(comment="Missing %s" % CONFIG_FILE) + raise FuncException("Missing %s" % CONFIG_FILE) cp = ConfigParser.ConfigParser() -- cgit