Page MenuHomeSoftware Heritage

tasks: fix handling of unsupported promise.save() calls
ClosedPublic

Authored by douardda on Apr 11 2019, 11:06 AM.

Details

Summary

the exception can also be an AttributeError.

Also do not reraise this exception (in github/tasks.py). This promise
saving feature is used for tests.

Diff Detail

Repository
rDLS Listers
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 5329
Build 7224: tox-on-jenkinsJenkins
Build 7223: arc lint + arc unit

Event Timeline

vlorentz added a subscriber: vlorentz.

That code (and the lines before) look very similar to each other.

This revision is now accepted and ready to land.Apr 11 2019, 11:10 AM

That code (and the lines before) look very similar to each other.

indeed! more refactoring in sight!

This revision was automatically updated to reflect the committed changes.