Fix testEvents

This commit is contained in:
Vincent Jacques
2012-05-05 19:20:27 +02:00
parent c3dd5cd2f1
commit dd0c6e63f4
36 changed files with 721 additions and 461 deletions
+3 -3
View File
@@ -76,9 +76,9 @@ class GitRef( object ):
def __useAttributes( self, attributes ):
#@todo No need to check if attribute is in attributes when attribute is mandatory
if "object" in attributes:
if "object" in attributes and attributes[ "object" ] is not None:
self.__object = attributes[ "object" ]
if "ref" in attributes:
if "ref" in attributes and attributes[ "ref" ] is not None:
self.__ref = attributes[ "ref" ]
if "url" in attributes:
if "url" in attributes and attributes[ "url" ] is not None:
self.__url = attributes[ "url" ]