From: Bradley Sepos Date: Sun, 18 Dec 2016 21:26:54 +0000 (-0500) Subject: build: Ensure tag suffix is not None in configure.py. X-Git-Tag: 1.0.0~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90f66b178a01a50fdd521d36e8005f4fcd18bc45;p=handbrake build: Ensure tag suffix is not None in configure.py. --- diff --git a/make/configure.py b/make/configure.py index c7a5fedc9..35bb397ac 100644 --- a/make/configure.py +++ b/make/configure.py @@ -833,7 +833,8 @@ class Project( Action ): self.vmajor = int(vmajor) self.vminor = int(vminor) self.vpoint = int(vpoint) - self.suffix = suffix + if suffix: + self.suffix = suffix if repo.type != 'release' or options.snapshot: self.version = repo.date.strftime("%Y%m%d%H%M%S")