From ffa339ca29049971373d739b145531ef48589765 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Mon, 23 Jan 2012 15:43:21 +0100
Subject: [PATCH] Clarification on what objects.InstancePolicy is

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

diff --git a/lib/objects.py b/lib/objects.py
index 96c544096..ff921d619 100644
--- a/lib/objects.py
+++ b/lib/objects.py
@@ -892,9 +892,13 @@ class Disk(ConfigObject):
 
 
 class InstancePolicy(ConfigObject):
-  """Config object representing instance policy limits dictionary."""
-  __slots__ = ["min", "max", "std", "disk_templates"]
+  """Config object representing instance policy limits dictionary.
 
+
+  Note that this object is not actually used in the config, it's just
+  used as a placeholder for a few functions.
+
+  """
   @classmethod
   def CheckParameterSyntax(cls, ipolicy):
     """ Check the instance policy for validity.
-- 
GitLab