contrib/perf.py
changeset 43495 daade078f1f0
parent 43436 bfc68404cccd
parent 43421 be384a2052aa
child 43503 313e3a279828
--- a/contrib/perf.py	Thu Oct 17 19:29:22 2019 -0400
+++ b/contrib/perf.py	Fri Nov 08 23:26:50 2019 +0900
@@ -691,8 +691,8 @@
         def clearcache():
             # _tagscache has been filteredpropertycache since 2.5 (or
             # 98c867ac1330), and delattr() can't work in such case
-            if b'_tagscache' in vars(repo):
-                del repo.__dict__[b'_tagscache']
+            if '_tagscache' in vars(repo):
+                del repo.__dict__['_tagscache']
 
         return clearcache