Spliting GithubObjects.py

This commit is contained in:
Vincent Jacques
2012-03-13 19:40:44 +01:00
parent 4a5cf98e7f
commit e648e5aeb5
6 changed files with 67 additions and 54 deletions
+12
View File
@@ -0,0 +1,12 @@
from GithubObject import *
GitRef = GithubObject(
"GitRef",
BaseUrl( lambda obj: obj._repo._baseUrl() + "/git/" + obj.ref ),
InternalSimpleAttributes(
"ref", "url",
"object",
"_repo",
),
Editable( [ "sha" ], [ "force" ] ),
)