diff mercurial/smartset.py @ 32148:2cfdf5241096

py3: use raw strings while accessing class.__dict__ The keys of class.__dict__ are unicodes on Python 3.
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 28 Apr 2017 01:13:07 +0530
parents 413b44003462
children e962c70c0aad
line wrap: on
line diff
--- a/mercurial/smartset.py	Tue Apr 25 01:52:30 2017 +0530
+++ b/mercurial/smartset.py	Fri Apr 28 01:13:07 2017 +0530
@@ -245,7 +245,7 @@
     @util.propertycache
     def _list(self):
         # _list is only lazily constructed if we have _set
-        assert '_set' in self.__dict__
+        assert r'_set' in self.__dict__
         return list(self._set)
 
     def __iter__(self):