Normalize spaces and tabs: modules/catalyst/spawn.py - spawn_bash.
authorRobin H. Johnson <robbat2@orbis-terrarum.net>
Wed, 27 May 2009 15:45:34 +0000 (08:45 -0700)
committerRobin H. Johnson <robbat2@orbis-terrarum.net>
Wed, 27 May 2009 15:45:34 +0000 (08:45 -0700)
modules/catalyst/spawn.py

index fabe09517c41a0da5f215035b76a85ba7aa36608..345270e9baa169eaf8dac565db82e89760651f6e 100644 (file)
@@ -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)