From 147af04d06abcc97569a67393894d641ca4f675a Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Wed, 16 Jan 2008 16:01:14 +0000
Subject: [PATCH] Two small style fixes

This is a merge from the 1.2 branch

Reviewed-by: imsnah
---
 lib/backend.py     | 2 +-
 scripts/gnt-backup | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/backend.py b/lib/backend.py
index ecdbb80da..da969c0f2 100644
--- a/lib/backend.py
+++ b/lib/backend.py
@@ -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)
diff --git a/scripts/gnt-backup b/scripts/gnt-backup
index 9a2369336..660cb6182 100755
--- a/scripts/gnt-backup
+++ b/scripts/gnt-backup
@@ -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
 
-- 
GitLab