[chirp_devel] [PATCH] [IC-7000] Make Icom CI-V Driver PEP8 Compliant fixes #3079
Joseph.P.Scanlan at n7xsd.us
Sat Dec 19 13:32:46 PST 2015
# HG changeset patch
# User <Joseph.P.Scanlan at n7xsd.us>
# Date 1450560686 28800
# Sat Dec 19 13:31:26 2015 -0800
# Node ID ad91e0acb395551590cd2d9e0e308102fbbeff73
# Parent 3553a9c72edf6601a36a6be900a50928f346aa25
[IC-7000] Make Icom CI-V Driver PEP8 Compliant fixes #3079
Just a couple of corrections to the style.
diff -r 3553a9c72edf -r ad91e0acb395 chirp/drivers/icomciv.py
--- a/chirp/drivers/icomciv.py Fri Dec 18 09:42:06 2015 -0800
+++ b/chirp/drivers/icomciv.py Sat Dec 19 13:31:26 2015 -0800
@@ -156,12 +156,13 @@
def set_location(self, loc, bank=1):
self._loc = loc
self._bnk = bank
- self._data = struct.pack(">BH", int("%02i" % bank, 16),
- int("%04i" % loc, 16))
+ self._data = struct.pack(
+ ">BH", int("%02i" % bank, 16), int("%04i" % loc, 16))
def make_empty(self):
"""Mark as empty so the radio will erase the memory"""
- self._data = struct.pack(">BHB", int("%02i" % self._bnk, 16),
+ self._data = struct.pack(
+ ">BHB", int("%02i" % self._bnk, 16),
int("%04i" % self._loc, 16), 0xFF)
def get_obj(self):
More information about the chirp_devel
mailing list