changeset 36584: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 edf736c3c064
children 26a6b62919e2
files mercurial/util.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Fri Mar 02 13:47:49 2018 -0500
+++ b/mercurial/util.py	Fri Mar 02 14:09:20 2018 -0500
@@ -509,8 +509,8 @@
     )
 
     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 = {