diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-10-02 18:49:52 +0200 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-10-02 19:43:38 +0200 |
commit | b4dd3fed383164c88072d581feb9bbae22c1b739 (patch) | |
tree | 178037b0cc00d9f7cd20f2dea226bbcbfd1f9c86 /app-backup | |
parent | dev-vcs/git-credential-manager: Drop old 2.5.0 (diff) | |
download | gentoo-b4dd3fed383164c88072d581feb9bbae22c1b739.tar.gz gentoo-b4dd3fed383164c88072d581feb9bbae22c1b739.tar.bz2 gentoo-b4dd3fed383164c88072d581feb9bbae22c1b739.zip |
app-backup/borgmatic: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/borgmatic/files/borgmatic-1.8.12-datetime-utc.patch | 20 |
1 files changed, 0 insertions, 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 <witten@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'], |