Remove repeated code

This commit is contained in:
Vincent Jacques
2012-05-12 15:00:23 +02:00
parent 71b0ede8de
commit 350c7a3726
39 changed files with 42 additions and 190 deletions
+1 -5
View File
@@ -2,12 +2,8 @@
# Do not modify it manually, your work would be lost.
import PaginatedList
from GithubObject import *
import GitTreeElement
# This allows None as a valid value for an optional parameter
class DefaultValueForOptionalParametersType:
pass
DefaultValueForOptionalParameters = DefaultValueForOptionalParametersType()
class GitTree( object ):
def __init__( self, requester, attributes, lazy ):