Commit ee1eb61a authored by Martin's avatar Martin

update git patch

parent 71751276
Description: do not call git when starting
Author: W. Martin Borgert <debacle@debian.org>
Origin: vendor
Last-Update: 2018-05-20
Last-Update: 2018-08-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/gajim/__init__.py
+++ b/gajim/__init__.py
@@ -1,12 +1 @@
@@ -1,17 +1,7 @@
import os
-import subprocess
-
__version__ = "1.0.3"
__version__ = "1.0.99"
IS_FLATPAK = False
if os.path.exists('/app/share/run-as-flatpak'):
IS_FLATPAK = True
-
-try:
- p = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True,
- stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
- stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
- node = p.communicate()[0]
- if node:
- __version__ += '+' + node.decode('utf-8').strip()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment