util: add missing r prefix on some __setattr__ calls
authorAugie Fackler <augie@google.com>
Fri, 02 Mar 2018 14:09:20 -0500
changeset 36584 f5427483eebe
parent 36583 edf736c3c064
child 36585 26a6b62919e2
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
mercurial/util.py
--- 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 = {