[chirp_devel] [PATCH 11/35] Fix style issues in vx510.py (#2355)

Zachary T Welch
Tue Mar 3 17:48:23 PST 2015


# HG changeset patch
# User Zachary T Welch <zach at mandolincreekfarm.com>
# Fake Node ID 98f337a0e9a562c8908ed45fee519fcf2dea2199

Fix style issues in vx510.py (#2355)


diff --git a/chirp/drivers/vx510.py b/chirp/drivers/vx510.py
index 16a9026..49570e2 100644
--- a/chirp/drivers/vx510.py
+++ b/chirp/drivers/vx510.py
@@ -162,9 +162,11 @@ class VX510Radio(yaesu_clone.YaesuCloneModeRadio):
 
         if tmode_tx == "Tone" and not tmode_rx:
             mem.tmode = "Tone"
-        elif tmode_tx == tmode_rx and tmode_tx == "Tone" and mem.rtone == mem.ctone:
+        elif tmode_tx == tmode_rx and tmode_tx == "Tone" and \
+                mem.rtone == mem.ctone:
             mem.tmode = "TSQL"
-        elif tmode_tx == tmode_rx and tmode_tx == "DTCS" and mem.dtcs == mem.rx_dtcs:
+        elif tmode_tx == tmode_rx and tmode_tx == "DTCS" and \
+                mem.dtcs == mem.rx_dtcs:
             mem.tmode = "DTCS"
         elif tmode_rx or tmode_tx:
             mem.tmode = "Cross"
diff --git a/tools/cpep8.blacklist b/tools/cpep8.blacklist
index dcf1129..79121ec 100644
--- a/tools/cpep8.blacklist
+++ b/tools/cpep8.blacklist
@@ -23,7 +23,6 @@
 ./chirp/drivers/th_uvf8d.py
 ./chirp/drivers/tmv71.py
 ./chirp/drivers/tmv71_ll.py
-./chirp/drivers/vx510.py
 ./chirp/drivers/vx6.py
 ./chirp/drivers/vx7.py
 ./chirp/drivers/vx8.py




More information about the chirp_devel mailing list