Permalink
Browse files

[eventposition] code cleaning

  • Loading branch information...
1 parent 07994be commit 880b0950420b8bec299607eb98d20716ab7aa7c5 @drbest2 drbest2 committed Nov 25, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 eventposition/src/EventPosition.py
@@ -50,10 +50,7 @@ def getLength(self):
event = self.source.event
if event is None:
return None
- start_time = event.getBeginTime()
- duration = event.getDuration()
- end_time = start_time + duration
- return duration
+ return event.getDuration()
@cached
def getCutlist(self):

0 comments on commit 880b095

Please sign in to comment.