[chirp_devel] [PATCH] [UV-5R] Fix pep8 Issue

Jim Unroe
Sat Apr 8 17:14:12 PDT 2017


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1491696168 14400
# Node ID 55efac8845ad21bd404ecd9c94e8dfcb787c47c1
# Parent  0714032989d2d0ea7fa82c231e4ab374835375b4
[UV-5R] Fix pep8 Issue

This patch fixes a pep8 issue that I thought I has already fixed.

releated to issue #4445

diff -r 0714032989d2 -r 55efac8845ad chirp/drivers/uv5r.py
--- a/chirp/drivers/uv5r.py	Sun Apr 02 10:39:43 2017 -0400
+++ b/chirp/drivers/uv5r.py	Sat Apr 08 20:02:48 2017 -0400
@@ -666,7 +666,7 @@
             addr = 0x1808 + (i - 0x1EC0)
             _send_block(radio, i, radio.get_mmap()[addr:addr + 0x10])
 
-    if image_matched_radio == False:
+    if not image_matched_radio:
         msg = ("Upload finished, but the 'Other Settings' "
                "could not be sent because the firmware "
                "version of the image (%s) does not match "



More information about the chirp_devel mailing list