From af7e4d633a382abe45e82fcb0ebae30727c4e462 Mon Sep 17 00:00:00 2001 From: marmeladema Date: Sun, 20 Oct 2019 20:15:43 +0100 Subject: [PATCH] Convert git sha hash to text to be compatible with Python3 This also pin the six module version to 1.12 in order to be sure six.ensure_text is available. --- python/servo/command_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 4a216c690af..ffbcc999469 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -767,7 +767,7 @@ install them, let us know by filing a bug!") ]).strip()) git_info.append('') - git_info.append(git_sha) + git_info.append(six.ensure_str(git_sha)) if git_is_dirty: git_info.append('dirty')