get version hash as string
This commit is contained in:
parent
c1ca2ea616
commit
d46c174bdb
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue