Two small style fixes
authorIustin Pop <iustin@google.com>
Wed, 16 Jan 2008 16:01:14 +0000 (16:01 +0000)
committerIustin Pop <iustin@google.com>
Wed, 16 Jan 2008 16:01:14 +0000 (16:01 +0000)
This is a merge from the 1.2 branch

Reviewed-by: imsnah

lib/backend.py
scripts/gnt-backup

index ecdbb80..da969c0 100644 (file)
@@ -1455,7 +1455,7 @@ class HooksRunner(object):
       fdstdin = open("/dev/null", "r")
       child = subprocess.Popen([script], stdin=fdstdin, stdout=subprocess.PIPE,
                                stderr=subprocess.STDOUT, close_fds=True,
-                               shell=False, cwd="/",env=env)
+                               shell=False, cwd="/", env=env)
       output = ""
       try:
         output = child.stdout.read(4096)
index 9a23693..660cb61 100755 (executable)
@@ -95,7 +95,7 @@ def ImportInstance(opts, args):
                                 vcpus=opts.vcpus, ip_check=opts.ip_check,
                                 ip=opts.ip, bridge=opts.bridge, start=False,
                                 src_node=opts.src_node, src_path=opts.src_dir,
-                                wait_for_sync=opts.wait_for_sync,mac="auto")
+                                wait_for_sync=opts.wait_for_sync, mac="auto")
   SubmitOpCode(op)
   return 0