From f7ee5e75a03962dc8ae4c5398deca932731f67a5 Mon Sep 17 00:00:00 2001
From: florent <florent@laas.fr>
Date: Sun, 24 Oct 2010 22:05:04 +0200
Subject: [PATCH] Add a class attribute to store whether command methods have
 been created.

    * src/dynamic_graph/entity.py.
---
 src/dynamic_graph/entity.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dynamic_graph/entity.py b/src/dynamic_graph/entity.py
index 53a31fe..c3be0f9 100644
--- a/src/dynamic_graph/entity.py
+++ b/src/dynamic_graph/entity.py
@@ -26,6 +26,8 @@ def updateEntityClasses(dictionary):
         a.class_name = e
         # set class constructor
         setattr(a, '__init__', initEntity)
+        # set class attribute to store whether command methods have been created
+        setattr(a, 'commandCreated', False)
         # Store new class in dictionary with class name
         dictionary[e] = a
         # Store class name in local list
-- 
GitLab