commit: b4dd3fed383164c88072d581feb9bbae22c1b739 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Wed Oct 2 16:49:52 2024 +0000 Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org> CommitDate: Wed Oct 2 17:43:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4dd3fed
app-backup/borgmatic: remove unused patch Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org> .../files/borgmatic-1.8.12-datetime-utc.patch | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/app-backup/borgmatic/files/borgmatic-1.8.12-datetime-utc.patch b/app-backup/borgmatic/files/borgmatic-1.8.12-datetime-utc.patch deleted file mode 100644 index 4a3505976f90..000000000000 --- a/app-backup/borgmatic/files/borgmatic-1.8.12-datetime-utc.patch +++ /dev/null @@ -1,20 +0,0 @@ -From f5a1dd31c8e5807e52196ecfd337c22e0f197bf5 Mon Sep 17 00:00:00 2001 -From: Dan Helfman <wit...@torsion.org> -Date: Sun, 23 Jun 2024 18:28:41 -0700 -Subject: [PATCH] Fix PagerDuty hook traceback with Python < 3.10 (#886). - -https://github.com/borgmatic-collective/borgmatic/commit/f5a1dd31c8e5807e52196ecfd337c22e0f197bf5 - -diff --git a/borgmatic/hooks/pagerduty.py b/borgmatic/hooks/pagerduty.py -index 6ec1a6ef..e9e34da0 100644 ---- a/borgmatic/hooks/pagerduty.py -+++ b/borgmatic/hooks/pagerduty.py -@@ -40,7 +40,7 @@ def ping_monitor(hook_config, config, config_filename, state, monitoring_log_lev - return - - hostname = platform.node() -- local_timestamp = datetime.datetime.now(datetime.UTC).astimezone().isoformat() -+ local_timestamp = datetime.datetime.now(datetime.timezone.utc).astimezone().isoformat() - payload = json.dumps( - { - 'routing_key': hook_config['integration_key'],