py3: fix type of attribute name in smartset.py
authorYuya Nishihara <yuya@tcha.org>
Sun, 03 Sep 2017 17:14:53 +0900
changeset 34070 01c9700fbf9f
parent 34069 e18119b1ad5d
child 34071 f55769e41803
py3: fix type of attribute name in smartset.py
mercurial/smartset.py
--- 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)