display 8 (rather than 7) characters of the extension commit hash in the installed extensions table
This commit is contained in:
parent
d023532c55
commit
1646991637
|
@ -44,7 +44,7 @@ class Extension:
|
||||||
self.status = 'unknown'
|
self.status = 'unknown'
|
||||||
head = repo.head.commit
|
head = repo.head.commit
|
||||||
ts = time.asctime(time.gmtime(repo.head.commit.committed_date))
|
ts = time.asctime(time.gmtime(repo.head.commit.committed_date))
|
||||||
self.version = f'{head.hexsha[:7]} ({ts})'
|
self.version = f'{head.hexsha[:8]} ({ts})'
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
self.remote = None
|
self.remote = None
|
||||||
|
|
Loading…
Reference in New Issue