Move classes around

This commit is contained in:
Vincent Jacques
2012-03-14 22:56:08 +01:00
parent 50ac55b25c
commit 85eef75635
38 changed files with 0 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import urllib
from GithubObject import *
Label = GithubObject(
"Label",
BaseUrl( lambda obj: obj._repo._baseUrl() + "/labels/" + obj._identity ),
Identity( lambda obj: urllib.quote( obj.name ) ),
InternalSimpleAttributes(
"url", "name", "color",
"_repo",
),
Editable( [ "name", "color" ], [] ),
Deletable(),
)