Welcome to mirror list, hosted at ThFree Co, Russian Federation.

launch.py - dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e5757eace9de414531cc58582ba8a30f2487da51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python3

import subprocess

import gajim
from gajim.gajim import main

try:
    res = subprocess.check_output(
        ['git', 'rev-parse', '--short=12', 'HEAD'])  # noqa: S603, S607
    gajim.__version__ += f'+{res.decode().strip()}'
except Exception:
    pass

main()