[chirp_devel] [PATCH] [BTECH] rename base class for BTECH #3015
Jim Unroe
Sun Mar 27 18:34:52 PDT 2016
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1459128463 14400
# Node ID 7d6ddfaba49a4e490cb25c831a87197bf55d9966
# Parent 1171fff35e0c4f98716b22de83fd763edca89349
[BTECH] rename base class for BTECH #3015
This patch includes the following changes:
Bug fixes
Renamed the base class as BTech (from btech)
diff -r 1171fff35e0c -r 7d6ddfaba49a chirp/drivers/btech.py
--- a/chirp/drivers/btech.py Sun Mar 27 21:16:54 2016 -0400
+++ b/chirp/drivers/btech.py Sun Mar 27 21:27:43 2016 -0400
@@ -595,7 +595,7 @@
return False
-class btech(chirp_common.CloneModeRadio, chirp_common.ExperimentalRadio):
+class BTech(chirp_common.CloneModeRadio, chirp_common.ExperimentalRadio):
"""BTECH's UV-5001 and alike radios"""
VENDOR = "BTECH"
MODEL = ""
@@ -989,7 +989,7 @@
# - At the end the pre-production units (pp) as this will be unique
@directory.register
-class UV2501(btech):
+class UV2501(BTech):
"""Baofeng Tech UV2501"""
MODEL = "UV-2501"
_magic = [MSTRING, ]
@@ -997,7 +997,7 @@
@directory.register
-class UV2501_220(btech):
+class UV2501_220(BTech):
"""Baofeng Tech UV2501+220"""
MODEL = "UV-2501+220"
_magic = [MSTRING_220, ]
@@ -1006,7 +1006,7 @@
@directory.register
-class UV5001(btech):
+class UV5001(BTech):
"""Baofeng Tech UV5001"""
MODEL = "UV-5001"
_magic = [MSTRING, MSTRING_MINI8900]
@@ -1014,7 +1014,7 @@
@directory.register
-class MINI8900(btech):
+class MINI8900(BTech):
"""WACCOM MINI-8900"""
VENDOR = "WACCOM"
MODEL = "MINI-8900"
More information about the chirp_devel
mailing list