aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chirp/drivers/__pycache__/ap510.cpython-38.pycbin0 -> 20734 bytes
-rw-r--r--chirp/drivers/__pycache__/ft1d.cpython-38.pycbin0 -> 51869 bytes
-rw-r--r--chirp/drivers/ap510.py4
-rw-r--r--chirp/drivers/ft1d.py2
4 files changed, 3 insertions, 3 deletions
diff --git a/chirp/drivers/__pycache__/ap510.cpython-38.pyc b/chirp/drivers/__pycache__/ap510.cpython-38.pyc
new file mode 100644
index 0000000..b08a8cc
--- /dev/null
+++ b/chirp/drivers/__pycache__/ap510.cpython-38.pyc
Binary files differ
diff --git a/chirp/drivers/__pycache__/ft1d.cpython-38.pyc b/chirp/drivers/__pycache__/ft1d.cpython-38.pyc
new file mode 100644
index 0000000..50e06ef
--- /dev/null
+++ b/chirp/drivers/__pycache__/ft1d.cpython-38.pyc
Binary files differ
diff --git a/chirp/drivers/ap510.py b/chirp/drivers/ap510.py
index 36df4c0..07019b6 100644
--- a/chirp/drivers/ap510.py
+++ b/chirp/drivers/ap510.py
@@ -380,7 +380,7 @@ class AP510Radio(chirp_common.CloneModeRadio):
data = download(self)
except errors.RadioError:
raise
- except Exception, e:
+ except (Exception, e):
raise errors.RadioError("Failed to communicate with radio: %s" % e)
# _mmap isn't a Chirp MemoryMap, but since AP510Memory implements
@@ -398,7 +398,7 @@ class AP510Radio(chirp_common.CloneModeRadio):
upload(self)
except errors.RadioError:
raise
- except Exception, e:
+ except (Exception, e):
raise errors.RadioError("Failed to communicate with radio: %s" % e)
def load_mmap(self, filename):
diff --git a/chirp/drivers/ft1d.py b/chirp/drivers/ft1d.py
index 06a20ed..2cae7ba 100644
--- a/chirp/drivers/ft1d.py
+++ b/chirp/drivers/ft1d.py
@@ -1890,7 +1890,7 @@ class FT1Radio(yaesu_clone.YaesuCloneModeRadio):
except AttributeError as e:
LOG.error("Setting %s is not in the memory map: %s" %
(element.get_name(), e))
- except Exception, e:
+ except (Exception, e):
LOG.debug(element.get_name())
raise