17
0
Files
hamster-time-tracker/remove-text-keyword-from-subprocess.run.patch
Martin Wilck 20cb98e8e0 - Update to version 3.0.3
- Changed fact entry syntax (see NEWS.md for details)
  * Remove the need for using a double comma to start the description,
    a single comma can be used instead.
  * The tags part must now be separated by a comma. This allows using
    '#' inside activityx, category and description
  * extract simple #haswords from description, like
    "fix #bugs in #hamster"
  * consistent limitations on field content
- spec file: fix build with python 3.6
  * added remove-text-keyword-from-subprocess.run.patch
  * refreshed replace-env-python-invocation-by-direct-call.patch

OBS-URL: https://build.opensuse.org/package/show/Office/hamster-time-tracker?expand=0&rev=43
2023-11-20 16:15:28 +00:00

26 lines
765 B
Diff

From 3c2c6e597fe70b31a99e28876968b0823009463e Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Mon, 20 Nov 2023 16:41:30 +0100
Subject: [PATCH] remove text= keyword from subprocess.run
---
wscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wscript b/wscript
index cf89a78..0b0d389 100644
--- a/wscript
+++ b/wscript
@@ -6,7 +6,7 @@ import subprocess
from waflib import Utils
# Reuse code from hamster to figure out the version number to use
-process = subprocess.run(["python3", "src/hamster/version.py"], check=True, stdout=subprocess.PIPE, text=True)
+process = subprocess.run(["python3", "src/hamster/version.py"], check=True, stdout=subprocess.PIPE)
VERSION = process.stdout
APPNAME = 'hamster'
--
2.42.1