[chirp_devel] [PATCH] Fix PEP8 failures due to line length in FT-8100 driver
Eric Allen
Sun Jun 14 13:00:52 PDT 2015
# HG changeset patch
# User Eric Allen <eric at hackerengineer.net>
# Date 1434312028 25200
# Sun Jun 14 13:00:28 2015 -0700
# Node ID 0ff0c756e19233776ed1128f0d88907be87bbf19
# Parent 9f9c88238ee5a1d0327dc47cf1e163badf62bfbd
Fix PEP8 failures due to line length in FT-8100 driver
Related to #1229
diff -r 9f9c88238ee5 -r 0ff0c756e192 chirp/drivers/ft8100.py
--- a/chirp/drivers/ft8100.py Tue Jun 09 16:34:51 2015 -0700
+++ b/chirp/drivers/ft8100.py Sun Jun 14 13:00:28 2015 -0700
@@ -95,7 +95,8 @@
@classmethod
def match_model(cls, data, path):
- if len(data) == cls._memsize and data[1:10] == '\x01\x01\x07\x08\x02\x01\x01\x00\x01':
+ if (len(data) == cls._memsize and
+ data[1:10] == '\x01\x01\x07\x08\x02\x01\x01\x00\x01'):
return True
return False
@@ -236,9 +237,9 @@
def _checksums(self):
return [yaesu_clone.YaesuChecksum(0x0000, 0x0B96)]
- # I didn't believe this myself, but it seems that there's a bit for enabling
- # VHF M01, but no bit for UHF01, and the enables are shifted down, so that
- # the first bit is for M02
+ # I didn't believe this myself, but it seems that there's a bit for
+ # enabling VHF M01, but no bit for UHF01, and the enables are shifted down,
+ # so that the first bit is for M02
def _bit_byte(self, number):
if self.VARIANT == 'VHF':
bit = 1 << ((number - 1) % 8)
More information about the chirp_devel
mailing list