# HG changeset patch # User Augie Fackler # Date 2018-03-02 19:09:20 # Node ID f5427483eebeaf1a6d7f82b5dbdc6507f70d5e89 # Parent edf736c3c064156631b09b8f4bd04082347a5690 util: add missing r prefix on some __setattr__ calls # skip-blame just a pair of r prefixes Differential Revision: https://phab.mercurial-scm.org/D2560 diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -509,8 +509,8 @@ class fileobjectproxy(object): ) def __init__(self, fh, observer): - object.__setattr__(self, '_orig', fh) - object.__setattr__(self, '_observer', observer) + object.__setattr__(self, r'_orig', fh) + object.__setattr__(self, r'_observer', observer) def __getattribute__(self, name): ours = {