mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Get repo from full name: tests, doc, fix param name (Pull #121)
This commit is contained in:
+3
-3
@@ -70,11 +70,11 @@ class Github(object):
|
||||
)
|
||||
return Organization.Organization(self.__requester, data, completed=True)
|
||||
|
||||
def get_repo(self, path):
|
||||
assert isinstance(path, (str, unicode)), name
|
||||
def get_repo(self, full_name):
|
||||
assert isinstance(full_name, (str, unicode)), full_name
|
||||
headers, data = self.__requester.requestAndCheck(
|
||||
"GET",
|
||||
"/repos/" + path,
|
||||
"/repos/" + full_name,
|
||||
None,
|
||||
None
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user