diff options
| author | Teddy Wing | 2017-05-24 11:59:21 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-05-26 13:20:55 +0200 |
| commit | c9c550f429ebcffc01473019ba7c941137c37974 (patch) | |
| tree | 8d5b43fc13017461474e60e09e22329a6e8e5d1f /script | |
| parent | f42bb93f9b1189d0d702a4d7776ae2dfa98e2823 (diff) | |
| download | chouette-core-c9c550f429ebcffc01473019ba7c941137c37974.tar.bz2 | |
TimeDuration: Use the `duration` argument
Instead of hard-coding the duration to compare against, get it from the
function argument. This allows us to set different durations at the time
the method is called.
Also simplify the comparison, getting rid of the math that makes this
method much more difficult to read.
Refs #870
Diffstat (limited to 'script')
0 files changed, 0 insertions, 0 deletions
