From 061c7af8ba08d1a9b166c323a99484ed07f265c7 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Sun, 18 Dec 2016 16:37:27 -0500 Subject: build: Really ensure tag suffix is not None in configure.py. --- make/configure.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'make') diff --git a/make/configure.py b/make/configure.py index 35bb397ac..cc758330c 100644 --- a/make/configure.py +++ b/make/configure.py @@ -823,7 +823,6 @@ class Project( Action ): else: url_arch = '' - suffix = '' if repo.tag != '': m = re.match( '^([0-9]+)\.([0-9]+)\.([0-9]+)-?(.+)?$', repo.tag ) if not m: @@ -852,7 +851,7 @@ class Project( Action ): self.build = time.strftime('%Y%m%d', now) + '01' self.title = '%s %s (%s)' % (self.name,self.version,self.build) else: - m = re.match('^([a-zA-Z]+)\.([0-9]+)$', suffix) + m = re.match('^([a-zA-Z]+)\.([0-9]+)$', self.suffix) if not m: # Regular release self.version = '%d.%d.%d' % (self.vmajor,self.vminor,self.vpoint) -- cgit v1.2.3