Skip to content

Commit

Permalink
Merge pull request #23 from mitodl/feature/fix_request_exception_docs…
Browse files Browse the repository at this point in the history
…tring

Correct doc string raises to the correct exception class
  • Loading branch information
bdero committed Feb 26, 2015
2 parents fffe1f7 + c12ba13 commit 486071d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions orcoursetrion/lib/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def create_repo(self, org, repo, description):
Raises:
GitHubRepoExists
GitHubUnknownError
requests.RequestException
requests.exceptions.RequestException
Returns:
dict: Github dictionary of a repo
(https://developer.github.com/v3/repos/#create)
Expand Down Expand Up @@ -273,7 +273,7 @@ def add_team_repo(self, org, repo, team):
Raises:
GitHubNoTeamFound
GitHubUnknownError
requests.RequestException
requests.exceptions.RequestException
"""
found_team = self._find_team(org, team)
Expand Down Expand Up @@ -301,7 +301,7 @@ def add_web_hook(self, org, repo, url):
url (str): URL of the hook to add
Raises:
GitHubUnknownError
requests.RequestException
requests.exceptions.RequestException
Returns:
dict: Github dictionary of a hook
(https://developer.github.com/v3/repos/hooks/#response-2)
Expand Down

0 comments on commit 486071d

Please sign in to comment.