Move 'todo's out of generated code

This commit is contained in:
Vincent Jacques
2012-05-27 12:24:21 +01:00
parent 855cc5dbd6
commit 306e43bbff
39 changed files with 3 additions and 41 deletions
-1
View File
@@ -43,7 +43,6 @@ class GitTreeElement( object ):
self.__url = None
def __useAttributes( self, attributes ):
# @todo No need to check if attribute is in attributes when attribute is mandatory
if "mode" in attributes and attributes[ "mode" ] is not None: # pragma no branch
assert isinstance( attributes[ "mode" ], ( str, unicode ) )
self.__mode = attributes[ "mode" ]