From 3f2ee2de04ae69718fcb8e8e050692e2ba8b30af Mon Sep 17 00:00:00 2001 From: Scott Giese <scttgs0@gmail.com> Date: Sat, 3 Oct 2020 10:28:46 -0500 Subject: [PATCH] Use python3 default implementation --- scripts/python/TerraSync/terrasync/virtual_path.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/python/TerraSync/terrasync/virtual_path.py b/scripts/python/TerraSync/terrasync/virtual_path.py index 971d255f8..cac380062 100644 --- a/scripts/python/TerraSync/terrasync/virtual_path.py +++ b/scripts/python/TerraSync/terrasync/virtual_path.py @@ -105,8 +105,8 @@ class VirtualPath: # unintuitive behavior, since they would all be considered equal. return type(self) == type(other) and self._path == other._path - def __ne__(self, other): - return type(self) != type(other) or self._path != other._path + # intentionally not implemented. Python3 provides a default implementation. + # def __ne__(self, other): def __gt__(self, other): if isinstance(other, VirtualPath):