From 1a0ce5b91d9bd9e8fde2822005461e09b0113f65 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Mon, 6 Apr 2009 21:17:43 -0500 Subject: [PATCH] spacing cleanups --- catalyst | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/catalyst b/catalyst index a959e91a..663626e9 100755 --- a/catalyst +++ b/catalyst @@ -133,13 +133,14 @@ def parse_config(myconfig): conf_values[x[1]] = "1" if "digests" in myconf: - conf_values["digests"]=myconf["digests"] + conf_values["digests"] = myconf["digests"] + if "contents" in myconf: - conf_values["contents"]=myconf["contents"] + conf_values["contents"] = myconf["contents"] if "envscript" in myconf: msg("Envscript support enabled.") - conf_values["ENVSCRIPT"]=myconf["envscript"] + conf_values["ENVSCRIPT"] = myconf["envscript"] def build_target(addlargs, targetmap): try: @@ -247,20 +248,20 @@ if __name__ == "__main__": if o in ("-C", "--cli"): run = True - x=sys.argv.index(o)+1 + x = sys.argv.index(o) + 1 while x < len(sys.argv): mycmdline.append(sys.argv[x]) - x=x+1 + x = x + 1 if o in ("-f", "--file"): run = True - myspecfile=a + myspecfile = a if o in ("-F", "--fetchonly"): - conf_values["FETCH"]="1" + conf_values["FETCH"] = "1" if o in ("-v", "--verbose"): - conf_values["VERBOSE"]="1" + conf_values["VERBOSE"] = "1" if o in ("-s", "--snapshot"): if len(sys.argv) < 3: @@ -292,7 +293,7 @@ if __name__ == "__main__": targetmap = catalyst.target.build_target_map() - addlargs={} + addlargs = {} spec = catalyst.config.Spec() if myspecfile: -- 2.26.2