changeset 34087:01c9700fbf9f

py3: fix type of attribute name in smartset.py
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Sep 2017 17:14:53 +0900
parents e18119b1ad5d
children f55769e41803
files mercurial/smartset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/smartset.py	Sun Sep 03 17:03:23 2017 +0900
+++ b/mercurial/smartset.py	Sun Sep 03 17:14:53 2017 +0900
@@ -357,7 +357,7 @@
 
     def _fastsetop(self, other, op):
         # try to use native set operations as fast paths
-        if (type(other) is baseset and '_set' in other.__dict__ and '_set' in
+        if (type(other) is baseset and r'_set' in other.__dict__ and r'_set' in
             self.__dict__ and self._ascending is not None):
             s = baseset(data=getattr(self._set, op)(other._set),
                         istopo=self._istopo)