Skip to content

Commit

Permalink
BaseTemporalModel: remove nop lines (code's readable without'em too)
Browse files Browse the repository at this point in the history
  • Loading branch information
senko committed Oct 8, 2012
1 parent 833fcfe commit 23c7307
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ def days_range(self, frm=None, to=None, filter=None):
if frm:
if self.start:
frm = max(frm, self.start)
else:
pass # just use frm as it is
else:
if self.start:
frm = self.start
Expand All @@ -96,8 +94,6 @@ def days_range(self, frm=None, to=None, filter=None):
if to:
if self.end:
to = min(to, self.end)
else:
pass # just use to as it is
else:
if self.end:
to = self.end
Expand Down

0 comments on commit 23c7307

Please sign in to comment.