changeset 45246 | b1f2659c1c34 |
parent 45152 | b3b0cd8b9366 |
child 45426 | 1a5d3e555c70 |
--- a/hgext/phabricator.py Thu Jul 30 16:52:12 2020 +0100 +++ b/hgext/phabricator.py Thu Jul 30 16:58:38 2020 +0100 @@ -238,8 +238,9 @@ def decorate(fn): def inner(*args, **kwargs): - if kwargs.get('test_vcr'): - cassette = pycompat.fsdecode(kwargs.pop('test_vcr')) + vcr = kwargs.pop('test_vcr') + if vcr: + cassette = pycompat.fsdecode(vcr) import hgdemandimport with hgdemandimport.deactivated():