summaryrefslogtreecommitdiff
path: root/debian/patches/07-disable-reporting.patch
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-10-16 22:04:36 +0100
committerDave Hibberd <d@vehibberd.com>2023-10-16 22:08:49 +0100
commit0ef36f83c09202599f919890a1a6fa075b9c329e (patch)
tree3fd8b460dcd7d04bddfd168c310cb6ab50def3a2 /debian/patches/07-disable-reporting.patch
parent96e7558ee5db759a7214cd451a3478f3b44f59a3 (diff)
Tweaks for first build
Diffstat (limited to 'debian/patches/07-disable-reporting.patch')
-rw-r--r--debian/patches/07-disable-reporting.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/debian/patches/07-disable-reporting.patch b/debian/patches/07-disable-reporting.patch
index 368372b..3193898 100644
--- a/debian/patches/07-disable-reporting.patch
+++ b/debian/patches/07-disable-reporting.patch
@@ -6,14 +6,14 @@ Author: Iain R. Learmonth <irl@debian.org>
Bug-Debian: https://bugs.debian.org/829494
Last-Update: 2016-07-25
---- chirp-20160717.orig/chirp/ui/reporting.py
-+++ chirp-20160717/chirp/ui/reporting.py
-@@ -33,7 +33,7 @@ import logging
- from chirp import CHIRP_VERSION, platform
+--- a/chirp/wxui/report.py
++++ b/chirp/wxui/report.py
+@@ -32,7 +32,7 @@
+ LOG = logging.getLogger(__name__)
+ logging.getLogger('urllib3.connectionpool').setLevel(logging.INFO)
+ SESSION = None
+-DISABLED = False
++DISABLED = True
+ SEM = threading.Semaphore(2)
+ BASE = 'http://chirp.danplanet.com/report'
- REPORT_URL = "http://chirp.danplanet.com/report/report.php?do_report"
--ENABLED = True
-+ENABLED = False
- THREAD_SEM = threading.Semaphore(10) # Maximum number of outstanding threads
- LAST = 0
- LAST_TYPE = None