Test labels (new special case in Repository.get_label...)

This commit is contained in:
Vincent Jacques
2012-05-19 11:19:13 +01:00
parent fdb1033825
commit 72c34a840d
11 changed files with 79 additions and 23 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
import urllib
import PaginatedList
from GithubObject import *
import Branch
@@ -693,7 +695,7 @@ class Repository( object ):
def get_label( self, name ):
status, headers, data = self.__requester.request(
"GET",
str( self.url ) + "/labels" + "/" + str( name ),
str( self.url ) + "/labels" + "/" + urllib.quote( name ),
None,
None
)