From e525860b6bc3f35e33c84ac7214e332ce36f5ae6 Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Sun, 19 Feb 2012 10:55:25 +0100 Subject: [PATCH] Fix default value --- github/GithubObject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/GithubObject.py b/github/GithubObject.py index 0c3935f9..1c5505a7 100644 --- a/github/GithubObject.py +++ b/github/GithubObject.py @@ -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