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,6 +2,7 @@
# Do not modify it manually, your work would be lost.
import PaginatedList
from GithubObject import *
import Branch
import IssueEvent
import Label
@@ -25,11 +26,6 @@ import Tag
import GitTag
import Download
import Event
# This allows None as a valid value for an optional parameter
class DefaultValueForOptionalParametersType:
pass
DefaultValueForOptionalParameters = DefaultValueForOptionalParametersType()
class Repository( object ):
def __init__( self, requester, attributes, lazy ):