From 14d84cda6ad2169452868a0677dfea354d0311a9 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Wed, 5 Sep 2012 17:45:34 +0200
Subject: [PATCH] Provide more information to Computer owner.

---
 master/product/Vifib/Tool/SlapTool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/master/product/Vifib/Tool/SlapTool.py b/master/product/Vifib/Tool/SlapTool.py
index 7ebeca77d..beead7f04 100644
--- a/master/product/Vifib/Tool/SlapTool.py
+++ b/master/product/Vifib/Tool/SlapTool.py
@@ -188,7 +188,7 @@ class SlapTool(BaseTool):
       parent_uid = self._getComputerUidByReference(computer_id)
   
       slap_computer._computer_partition_list = []
-      if user_type == 'Computer':
+      if user_type in ('Computer', 'Person'):
         slap_computer._software_release_list = \
            self._getSoftwareReleaseValueListForComputer(computer_id, full=True)
       else:
-- 
2.30.9