This is an automated email from the ASF dual-hosted git repository. granthenke pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 85b7095d5fdabae75e4d5136ebc93b29e0322e8b Author: Grant Henke <[email protected]> AuthorDate: Tue Nov 3 15:04:33 2020 -0600 [docker] Fix build when using default base OS When using the default base OS the string is not utf8 type and `isnumeric` is not defined. This small fix changes to `isdigit` which works with all python strings. Change-Id: I81069970caabce1c7b9e0cdabaee403fdf921bad Reviewed-on: http://gerrit.cloudera.org:8080/16694 Tested-by: Kudu Jenkins Reviewed-by: Attila Bukor <[email protected]> --- docker/docker-build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-build.py b/docker/docker-build.py index 4b9fb00..6febac8 100755 --- a/docker/docker-build.py +++ b/docker/docker-build.py @@ -164,7 +164,7 @@ def get_os_tag(base): os_name = base.split(':')[0] os_version = base.split(':')[1] os_tag = os_name - if os_version.isnumeric(): + if os_version.isdigit(): os_tag += os_version return os_tag
