Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #155 from alexrs/fix-cfg
Browse files Browse the repository at this point in the history
Add cfg to parse_commands calls in server.py
  • Loading branch information
Manishearth committed Mar 27, 2018
2 parents e4b2fc0 + 7772009 commit 0383eea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homu/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ def github():
state.body = info['pull_request']['body']

if parse_commands(
g.cfg,
body,
username,
repo_cfg,
Expand Down Expand Up @@ -346,6 +347,7 @@ def github():
# FIXME: Review comments are ignored here
for c in state.get_repo().issue(pull_num).iter_comments():
found = parse_commands(
g.cfg,
c.body,
c.user.login,
repo_cfg,
Expand Down Expand Up @@ -440,6 +442,7 @@ def fail(err):
state.body = info['issue']['body']

if parse_commands(
g.cfg,
body,
username,
repo_cfg,
Expand Down

0 comments on commit 0383eea

Please sign in to comment.