Mercurial > hg-stable
comparison mercurial/util.py @ 36613:f5427483eebe
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
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 02 Mar 2018 14:09:20 -0500 |
parents | 98d4c642d7f2 |
children | 26a6b62919e2 |
comparison
equal
deleted
inserted
replaced
36612:edf736c3c064 | 36613:f5427483eebe |
---|---|
507 r'_orig', | 507 r'_orig', |
508 r'_observer', | 508 r'_observer', |
509 ) | 509 ) |
510 | 510 |
511 def __init__(self, fh, observer): | 511 def __init__(self, fh, observer): |
512 object.__setattr__(self, '_orig', fh) | 512 object.__setattr__(self, r'_orig', fh) |
513 object.__setattr__(self, '_observer', observer) | 513 object.__setattr__(self, r'_observer', observer) |
514 | 514 |
515 def __getattribute__(self, name): | 515 def __getattribute__(self, name): |
516 ours = { | 516 ours = { |
517 r'_observer', | 517 r'_observer', |
518 | 518 |