##// END OF EJS Templates
util: make filestat.__eq__ return True if both of self and old have None stat...
FUJIWARA Katsunori -
r32749:b5524fd9 default
parent child Browse files
Show More
@@ -1525,6 +1525,10 b' class filestat(object):'
1525 self.stat.st_ctime == old.stat.st_ctime and
1525 self.stat.st_ctime == old.stat.st_ctime and
1526 self.stat.st_mtime == old.stat.st_mtime)
1526 self.stat.st_mtime == old.stat.st_mtime)
1527 except AttributeError:
1527 except AttributeError:
1528 pass
1529 try:
1530 return self.stat is None and old.stat is None
1531 except AttributeError:
1528 return False
1532 return False
1529
1533
1530 def isambig(self, old):
1534 def isambig(self, old):
General Comments 0
You need to be logged in to leave comments. Login now