[chirp_devel] [PATCH] [UV-5R] Fix pep8 Issue
# HG changeset patch # User Jim Unroe rock.unroe@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 "
Disregard this patch. It is a dupe of one I submitted earlier.
Jim KC9HI
On Sun, May 14, 2017 at 4:39 PM, Jim Unroe rock.unroe@gmail.com wrote:
# HG changeset patch # User Jim Unroe rock.unroe@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 "
participants (1)
-
Jim Unroe