Add missing blank line to soc.logic.helper.timeline module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/logic/helper/timeline.py Thu Feb 05 20:32:45 2009 +0000
+++ b/app/soc/logic/helper/timeline.py Thu Feb 05 20:33:12 2009 +0000
@@ -35,6 +35,7 @@
return isBeforeEvent(entity, '%s_start' % period)
+
def isBeforeEvent(entity, event):
"""Returns true iff the current DateTime is before the given event.
@@ -49,6 +50,7 @@
else:
return False
+
def isActivePeriod(entity, period):
"""Returns true iff the current DateTime is between period_start and period_end.
@@ -65,6 +67,7 @@
return period_started and period_not_ended
+
def isAfterPeriod(entity, period):
"""Returns true iff the current DateTime is after the given period_end.
@@ -75,6 +78,7 @@
return isAfterEvent(entity, '%s_end' % period)
+
def isAfterEvent(entity, event):
"""Returns true iff the current DateTime is after the given event.
@@ -89,6 +93,7 @@
else:
return False
+
def getDateTimeByName(entity, name):
"""Returns the DateTime property with the given name.