From 25a915d0bb07f469ac17b78fb6282a4beeba1b18 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Fri, 2 Nov 2007 01:10:16 +0000
Subject: [PATCH] Revision 302 is broken, this fixes it

I forgot a pair of parentheses in that revision which break the common
case. This patch adds them.

Reviewed-by: ultrotter
---
 lib/objects.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/objects.py b/lib/objects.py
index 8f3bbf20a..803b893dd 100644
--- a/lib/objects.py
+++ b/lib/objects.py
@@ -427,8 +427,8 @@ class Disk(ConfigObject):
         phy = "unconfigured"
       else:
         phy = ("configured as %s:%s %s:%s" %
-               self.physical_id[0], self.physical_id[1],
-               self.physical_id[2], self.physical_id[3])
+               (self.physical_id[0], self.physical_id[1],
+                self.physical_id[2], self.physical_id[3]))
 
       val += ("hosts=%s-%s, port=%s, %s, " %
               (self.logical_id[0], self.logical_id[1], self.logical_id[2],
-- 
GitLab