D2560: util: add missing r prefix on some __setattr__ calls

2018-03-02 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf5427483eebe: util: add missing r prefix on some 
__setattr__ calls (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2560?vs=6377=6383

REVISION DETAIL
  https://phab.mercurial-scm.org/D2560

AFFECTED FILES
  mercurial/util.py

CHANGE DETAILS

diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -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 = {



To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D2560: util: add missing r prefix on some __setattr__ calls

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame just a pair of r prefixes

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2560

AFFECTED FILES
  mercurial/util.py

CHANGE DETAILS

diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -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 = {



To: durin42, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel