From e6a8d7991b7e07939bc172a893a54ff1713c12aa Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Tue, 14 Feb 2012 12:47:47 +0100
Subject: [PATCH] =?UTF-8?q?cmdlib:=20Fix=20=E2=80=9Cunpack=20non-sequence?=
 =?UTF-8?q?=E2=80=9D=20error?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The callback is expected to return a two-valued tuple.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/cmdlib.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/cmdlib.py b/lib/cmdlib.py
index ba7112494..3a5d816b5 100644
--- a/lib/cmdlib.py
+++ b/lib/cmdlib.py
@@ -12190,6 +12190,8 @@ class LUInstanceSetParams(LogicalUnit):
     private.params = new_params
     private.filled = new_filled_params
 
+    return (None, None)
+
   def CheckPrereq(self):
     """Check prerequisites.
 
-- 
GitLab