Skip to content

Commit 8ec047f

Browse files
e3krisztianqkaiser
authored andcommitted
chore(yaffs): remove unused ordering methods
It looks like the ordering methods of YAFFSEntry is unused, but tricks other tools into proposing even more complete unused ordering implementation.
1 parent 52c1ed5 commit 8ec047f

File tree

1 file changed

+0
-12
lines changed
  • python/unblob/handlers/filesystem

1 file changed

+0
-12
lines changed

python/unblob/handlers/filesystem/yaffs.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -204,18 +204,6 @@ class YAFFSEntry:
204204
st_mtime: int = attrs.field(default=0)
205205
st_ctime: int = attrs.field(default=0)
206206

207-
def __lt__(self, other):
208-
return self.object_id < other.object_id
209-
210-
def __gt__(self, other):
211-
return self.object_id > other.object_id
212-
213-
def __eq__(self, other):
214-
return self.object_id == other.object_id
215-
216-
def __hash__(self):
217-
return hash(self.object_id)
218-
219207
def __str__(self):
220208
return f"{self.object_id}: {self.name}"
221209

0 commit comments

Comments
 (0)