Skip to content

Commit

Permalink
Correct another instance of mis-used six.iteritems().
Browse files Browse the repository at this point in the history
I'd like @phracek to review this one before it gets merged since it
depends on the structure of the output from rebase-helper.  We found an
erroneous instance like this in #106 and I'm not sure if this is the
same kind of situation or not.

See #106 (comment)
  • Loading branch information
ralphbean committed Mar 9, 2016
1 parent 8136393 commit 1a88414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotness/consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def _handle_anitya_update(self, upstream, package, msg):
'See for details' % (package, version)
self.bugzilla.follow_up(note, bz)
if 'logs' in rh_stuff['build_logs']:
for log in six.iteritems(rh_stuff['build_logs']['logs']):
for log in rh_stuff['build_logs']['logs']:
note = 'Build log %s.' % log
self.bugzilla.attach_patch(log, note, bz)
# Attach rebase-helper logs for another analysis
Expand Down

0 comments on commit 1a88414

Please sign in to comment.