Page MenuHomeSoftware Heritage

Small refactoring in indexing_lister
ClosedPublic

Authored by douardda on Jan 8 2019, 10:58 AM.

Details

Summary
  • use a generator instead of a while loop
  • declare a local logger and use it instead of the root logger.

Diff Detail

Repository
rDLS Listers
Branch
tasks-forever
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 3274
Build 4216: tox-on-jenkinsJenkins
Build 4215: arc lint + arc unit

Event Timeline

douardda created this revision.Jan 8 2019, 10:58 AM
vlorentz accepted this revision.Jan 8 2019, 11:52 AM
vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/lister/core/indexing_lister.py
174

You can make this a method

This revision is now accepted and ready to land.Jan 8 2019, 11:52 AM
This revision was automatically updated to reflect the committed changes.