get version hash as string

This commit is contained in:
Frédéric Péters 2020-01-28 15:16:26 +01:00
parent c1ca2ea616
commit d46c174bdb
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class Module(models.Model):
p = subprocess.Popen(cmd, **kws)
stdout = p.communicate()[0]
p.wait()
return stdout[:7]
return stdout[:7].decode('ascii')
def get_diff_log(self, v1, v2, format='oneline', grep=None):
kws = {}