File: urllib3-Lower-retry-message-from-WARNING-to-INFO.patch

package info (click to toggle)
gitlabracadabra 2.7.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,448 kB
  • sloc: python: 11,906; javascript: 663; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Mathieu Parent <math.parent@gmail.com>
Date: Thu Apr 14 13:40:01 2022 +0200
Subject: [PATCH] urllib3: Lower retry message from WARNING to INFO

See https://github.com/urllib3/urllib3/issues/2583

diff --git a/pygit2/remote.py b/pygit2/remote.py
--- /usr/lib/python3/dist-packages/urllib3/connectionpool.py.orig 2021-06-27 15:02:18.000000000 +0000
+++ /usr/lib/python3/dist-packages/urllib3/connectionpool.py      2022-04-14 11:55:30.533652336 +0000
@@ -777,7 +777,7 @@

         if not conn:
             # Try again
-            log.warning(
+            log.info(
                 "Retrying (%r) after connection broken by '%r': %s", retries, err, url
             )
             return self.urlopen(