diff components/fifeagent.py @ 97:f94d4577ca5e

saveable_fields property of components is now a List.
author KarstenBock@gmx.net
date Tue, 27 Sep 2011 16:27:36 +0200
parents d1b0b3da4b8b
children 75c0b728ccf3
line wrap: on
line diff
--- a/components/fifeagent.py	Tue Sep 27 16:05:07 2011 +0200
+++ b/components/fifeagent.py	Tue Sep 27 16:27:36 2011 +0200
@@ -25,9 +25,9 @@
 
     @property
     def saveable_fields(self):
-        fields = deepcopy(self.fields)
-        del fields["layer"]
-        del fields["behaviour"]
+        fields = self.fields.keys()
+        fields.remove("layer")
+        fields.remove("behaviour")
         return fields