File: 0001-hide-deprecation-warning.patch

package info (click to toggle)
python-brother-ql 0.9.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 276 kB
  • sloc: python: 1,640; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 776 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Edward Betts <edward@4angle.com>
Date: Mon, 24 Feb 2025 21:27:43 -0500
Subject: hide deprecation warning

---
 brother_ql/devicedependent.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/brother_ql/devicedependent.py b/brother_ql/devicedependent.py
index 4990a2a..59966a1 100644
--- a/brother_ql/devicedependent.py
+++ b/brother_ql/devicedependent.py
@@ -16,7 +16,7 @@ import logging
 
 logger = logging.getLogger(__name__)
 
-logger.warn("deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release")
+# logger.warn("deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release")
 
 ## These module level variables were available here before.
 # Concerning labels