cylc/cylc — pull request #1167 by arjclark (2014-09-25 11:08:06+00:00)
Title: cylc config: Fix explicit null final cycle being interpreted as 0 offset

Closes #1154

This fixes the case where an empty final cycle point was being interpreted as an offset of 0 to the initial cycle point, leading to a final cycle point equal to the initial one. The change itself is minor (just involves an if statement) but appears larger due to the indentation changes.

* fixes behaviour
* adds new test