From: Robin H. Johnson Date: Wed, 27 May 2009 15:45:34 +0000 (-0700) Subject: Normalize spaces and tabs: modules/catalyst/spawn.py - spawn_bash. X-Git-Tag: CATALYST-2.0.10~3^2~129 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c21b685c4f441f2f3276d22bf4c9b2dc54a06875;p=catalyst.git Normalize spaces and tabs: modules/catalyst/spawn.py - spawn_bash. --- diff --git a/modules/catalyst/spawn.py b/modules/catalyst/spawn.py index fabe0951..345270e9 100644 --- a/modules/catalyst/spawn.py +++ b/modules/catalyst/spawn.py @@ -57,11 +57,11 @@ def spawn_bash(mycommand,env={},debug=False,opt_name=None,**keywords): """spawn mycommand as an arguement to bash""" args=[BASH_BINARY] if not opt_name: - opt_name=mycommand.split()[0] + opt_name=mycommand.split()[0] if not "BASH_ENV" in env: - env["BASH_ENV"] = "/etc/spork/is/not/valid/profile.env" + env["BASH_ENV"] = "/etc/spork/is/not/valid/profile.env" if debug: - args.append("-x") + args.append("-x") args.append("-c") args.append(mycommand) return spawn(args,env=env,opt_name=opt_name,**keywords)