Delete some dead code

Change-Id: I92c05a7520541b937badbbd87308daf12a76baf5
This commit is contained in:
Matthew Booth 2017-09-21 11:29:48 +01:00
parent 1a31f79327
commit 1c6d22503d
1 changed files with 0 additions and 13 deletions

View File

@ -440,19 +440,6 @@ class LogFile(object):
raise StopIteration()
return self.entry
def peek(self):
return self.entry
def __cmp__(self, other):
if other.peek() is None or self.peek() is None:
if self.peek() is None:
return 0 if other.peek() is None else 1
return -1
if (other.peek() or self.peek()) is None:
return 0 if self.peek() is None else -1
return cmp(self.peek(), other.peek())
# Log file formats with command line options
LOG_TYPES = {