Learn more about these different git repos.
Other Git URLs
6a502fa
@@ -802,7 +802,7 @@
# 2.4-hour-old, very popular repo
def updateTagScores(self):
- for entry in self.needed_tags.values():
+ for entry in list(self.needed_tags.values()):
self.setTagScore(entry)
def _delete_needed_tag(self, tag_id):
py2 relict - dict.values() is now iterator, so RuntimeError: dictionary changed size during iteration can be raised when needed repo was deleted during the iteration.
Simple fix to use copy instead of iterator will fix this.
Commit a227cce fixes this pull-request
Pull-Request has been merged by tkopecek
py2 relict - dict.values() is now iterator, so
RuntimeError: dictionary changed size during iteration
can be raised when needed repo was deleted during the iteration.
Simple fix to use copy instead of iterator will fix this.