HomeSoftware Heritage

Fix RecursionError when storage proxies are deepcopied or unpickled.

Authored by vlorentz on Feb 11 2020, 2:12 PM.

Description

Fix RecursionError when storage proxies are deepcopied or unpickled.

They both get attributes (eg. setattr) before setting any attribute,
and don't call the constructor; so self.storage is not set when getattr
is called for the first times.

Details

Committed
vlorentzFeb 11 2020, 2:12 PM
Pushed
vlorentzFeb 11 2020, 2:41 PM
Differential Revision
D2645: Fix RecursionError when storage proxies are deepcopied or unpickled.
Parents
rDSTOde7797df0f0b: tests: Remove print statement
Branches
Unknown
Tags
Unknown
Build Status
Buildable 10538
Build 15719: test-and-buildJenkins