Skip to content

Commit

Permalink
Fixed|Builder|RSS: Problem when parsing the changes XML
Browse files Browse the repository at this point in the history
cron is using an older version of Python.
  • Loading branch information
skyjake committed Jul 25, 2015
1 parent 7776008 commit 19093cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrib/builder/event.py
Expand Up @@ -231,7 +231,7 @@ def text_summary(self):
root = ElementTree.fromstring('<changes>' + src.read() + '</changes>')
commitCount = int(root.find('commitCount').text)
tagCount = {}
for tag in root.iter('tag'):
for tag in root.getiterator('tag'):
if tag.text in tagCount:
tagCount[tag.text] += 1
else:
Expand Down

0 comments on commit 19093cb

Please sign in to comment.