graphite-project / carbon

Unnecessary else / elif used after return PYL-R1705
Style
Major
1 occurrence in this check
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
 41    self.lastDate = self.toDate(os.stat(self.path)[8])
 42
 43  def shouldRotate(self):
 44    if self.enableRotation: 45      return DailyLogFile.shouldRotate(self)
 46    else:
 47      return False