mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Test labels (new special case in Repository.get_label...)
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user