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

Jim Unroe
Sun May 14 13:39:15 PDT 2017


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

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

releated to issue #4445

diff -r 0714032989d2 -r 898260492ab2 chirp/drivers/uv5r.py
--- a/chirp/drivers/uv5r.py	Sun Apr 02 10:39:43 2017 -0400
+++ b/chirp/drivers/uv5r.py	Sun May 14 16:38:27 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