From: Andrew Gaffney Date: Tue, 7 Apr 2009 02:20:19 +0000 (-0500) Subject: more spacing cleanups X-Git-Tag: CATALYST-2.0.10~3^2~137 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5fd1dc18d56ee03aabe81c1e242bac4a4b463927;p=catalyst.git more spacing cleanups --- diff --git a/catalyst b/catalyst index 663626e9..217be8e2 100755 --- a/catalyst +++ b/catalyst @@ -19,7 +19,7 @@ from catalyst.hash import hash_map __maintainer__="Chris Gianelloni " __version__="2.99" -conf_values={} +conf_values = {} config = catalyst.config.config() def usage(): @@ -80,7 +80,7 @@ def parse_config(myconfig): # next, try the default location elif os.path.exists("/etc/catalyst/catalyst.conf"): msg("Using default Catalyst configuration file, /etc/catalyst/catalyst.conf") - config_file="/etc/catalyst/catalyst.conf" + config_file = "/etc/catalyst/catalyst.conf" # can't find a config file (we are screwed), so bail out else: @@ -103,10 +103,10 @@ def parse_config(myconfig): for x in confdefaults.keys(): if x in myconf: msg("Setting " + x + " to config file value '" + myconf[x] + "'") - conf_values[x]=myconf[x] + conf_values[x] = myconf[x] else: - msg("Setting " + x + " to default value '"+confdefaults[x] + "'") - conf_values[x]=confdefaults[x] + msg("Setting " + x + " to default value '" + confdefaults[x] + "'") + conf_values[x] = confdefaults[x] options = ( ("autoresume", "AUTORESUME", "Autoresuming support enabled."),