Obviously, this should come first.
This commit is contained in:
parent
101eb8d230
commit
186375e8b2
1 changed files with 3 additions and 3 deletions
|
@ -119,6 +119,9 @@ for line in lines:
|
||||||
|
|
||||||
print "* Publishing information for %i commits" % len(commits)
|
print "* Publishing information for %i commits" % len(commits)
|
||||||
for commit in commits:
|
for commit in commits:
|
||||||
|
if commit is None:
|
||||||
|
continue
|
||||||
|
|
||||||
# Keep track of whether or not we have already published this commit on
|
# Keep track of whether or not we have already published this commit on
|
||||||
# another branch or not. It is conceivable that someone could make a
|
# another branch or not. It is conceivable that someone could make a
|
||||||
# commit to a number of branches, and push them all at the same time.
|
# commit to a number of branches, and push them all at the same time.
|
||||||
|
@ -130,9 +133,6 @@ for line in lines:
|
||||||
commit['seen'] = False
|
commit['seen'] = False
|
||||||
seen.append(commit['rev'])
|
seen.append(commit['rev'])
|
||||||
|
|
||||||
if commit is None:
|
|
||||||
continue
|
|
||||||
|
|
||||||
fedmsg.publish(
|
fedmsg.publish(
|
||||||
topic="receive",
|
topic="receive",
|
||||||
msg=dict(commit=commit),
|
msg=dict(commit=commit),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue