294 |
pass # Don't compare gid/uid for symlinks |
pass # Don't compare gid/uid for symlinks |
295 |
elif key == 'atime' and not Globals.preserve_atime: pass |
elif key == 'atime' and not Globals.preserve_atime: pass |
296 |
elif key == 'ctime': pass |
elif key == 'ctime': pass |
297 |
elif key == 'devloc' or key == 'nlink': pass |
elif key == 'nlink': pass |
298 |
elif key == 'size' and not self.isreg(): pass |
elif key == 'size' and not self.isreg(): pass |
299 |
elif key == 'ea' and not Globals.eas_active: pass |
elif key == 'ea' and not Globals.eas_active: pass |
300 |
elif key == 'acl' and not Globals.acls_active: pass |
elif key == 'acl' and not Globals.acls_active: pass |
306 |
other_name = other.data.get(key, None) |
other_name = other.data.get(key, None) |
307 |
if (other_name and other_name != "None" and |
if (other_name and other_name != "None" and |
308 |
other_name != self.data[key]): return None |
other_name != self.data[key]): return None |
309 |
elif (key == 'inode' and |
elif ((key == 'inode' or key == 'devloc') and |
310 |
(not self.isreg() or self.getnumlinks() == 1 or |
(not self.isreg() or self.getnumlinks() == 1 or |
311 |
not Globals.compare_inode or |
not Globals.compare_inode or |
312 |
not Globals.preserve_hardlinks)): |
not Globals.preserve_hardlinks)): |