Manual implementation of some status checks

This commit is contained in:
Vincent Jacques
2012-05-30 18:40:22 +02:00
parent b42e1284ec
commit b2cdba9cb5
7 changed files with 42 additions and 4 deletions
+6
View File
@@ -6,3 +6,9 @@ DefaultValueForOptionalParameters = DefaultValueForOptionalParametersType()
LazyCompletion = 0
ImmediateCompletion = 1
NoCompletion = 2
class GithubException( Exception ):
def __init__( self, status, data ):
Exception.__init__( self )
self.status = status
self.data = data