]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
decode byte string
authorcrouzet <nicolas.crouzet@cea.fr>
Thu, 12 Mar 2020 13:21:06 +0000 (14:21 +0100)
committercrouzet <nicolas.crouzet@cea.fr>
Thu, 12 Mar 2020 13:21:06 +0000 (14:21 +0100)
src/system.py

index eeb2a9ab9ccf617d61a1ddbbaa5fb6f06545fe5b..3a87433f6b01dd0f79aba20a3ee867cfa4ba1d31 100644 (file)
@@ -68,7 +68,8 @@ def git_describe(repo_path):
     if p.returncode != 0:
         return False
     else:
-        return p.stdout.readlines()[0].strip()
+        tag_description=p.stdout.readlines()[0].strip()
+        return tag_description.decode('utf-8')
 
 
 def git_extract(from_what, tag, where, logger, environment=None):