diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-29 02:21:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-29 02:21:45 +0000 |
| commit | 86b88101cf613264812d8416f5abad0287cfd314 (patch) | |
| tree | 6355c1a0c0d91dd24e027278e4cac1db6c97526c | |
| parent | 4552f41523a93cd4c3888d1af5e089d7d352a71b (diff) | |
Fix for release builds.
| -rwxr-xr-x | cdist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -352,7 +352,7 @@ class Version: def from_git_tag(cls, tag): bits = tag.split('-') c = cls(bits[0]) - if int(bits[1]) > 0: + if len(bits) > 1 and int(bits[1]) > 0: c.devel = True return c |
