277 |
277 |
278 commit_node = match.group (1) |
278 commit_node = match.group (1) |
279 commit_message = match.group (2) |
279 commit_message = match.group (2) |
280 commit_data.append ([commit_node, commit_message]) |
280 commit_data.append ([commit_node, commit_message]) |
281 |
281 |
282 print '%d new commits on %s' % (len (commit_data), repo_name) |
282 process_new_commits (repo_name, commit_data) |
|
283 |
|
284 def process_new_commits (repo_name, commit_data): |
|
285 Irc.broadcast ('%d new commits on %s' % (len (commit_data), repo_name)) |
283 |
286 |
284 if len (commit_data) > 0: |
287 if len (commit_data) > 0: |
285 pull_args = []; |
288 pull_args = []; |
286 |
289 |
287 for commit in commit_data: |
290 for commit in commit_data: |