Fix default value

This commit is contained in:
Vincent Jacques
2012-02-19 10:55:25 +01:00
parent 6998094ffc
commit e525860b6b
+1 -1
View File
@@ -82,7 +82,7 @@ class Identity( AttributeFromCallable ):
AttributeFromCallable.__init__( self, "_identity", identity )
class ListOfReferences:
def __init__( self, attributeName, type, addable = False, removable = False, hasable = False, getParameters = None ):
def __init__( self, attributeName, type, addable = False, removable = False, hasable = False, getParameters = [] ):
self.__attributeName = attributeName
self.__type = type
self.__getName = "get_" + attributeName