Implement Owner.get_repo as an ObjectGetter

This commit is contained in:
Vincent Jacques
2012-02-20 17:31:24 +01:00
parent 18a2ef50b3
commit 12e7ee9e28
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ class ObjectGetter( MethodFromCallable ):
self.__type = type
def __execute( self, obj, *args, **kwds ):
return self.__type( obj._github, self.__attributes( *args, **kwds ), lazy = False )
return self.__type( obj._github, self.__attributes( obj, *args, **kwds ), lazy = False )
def GithubObject( className, *attributePolicies ):
class GithubObject: