##// END OF EJS Templates
context: fix call to util.safehasattr
Idan Kamara -
r16610:f1745323 default
parent child Browse files
Show More
@@ -697,7 +697,7 b' class filectx(object):'
697 yield c
697 yield c
698
698
699 def copies(self, c2):
699 def copies(self, c2):
700 if not util.hasattr(self, "_copycache"):
700 if not util.safehasattr(self, "_copycache"):
701 self._copycache = {}
701 self._copycache = {}
702 sc2 = str(c2)
702 sc2 = str(c2)
703 if sc2 not in self._copycache:
703 if sc2 not in self._copycache:
General Comments 0
You need to be logged in to leave comments. Login now