[chirp_devel] [PATCH] second try, since the attachment was scrubbed, for issue #4031

Leo Bärring
Fri Sep 16 12:23:38 PDT 2016


# HG changeset patch
# User Leo Bärring <leo.barring at protonmail.com>
# Date 1473987633 -7200
# Fri Sep 16 03:00:33 2016 +0200
# Node ID c8e5761ed19d77f2fecf38decb2152011c23d309
# Parent a1b8b53606f6025fc1ad727331837cfc7759f178
Renames value to mem_val, fixes issue #4031
Also a "hello world" patch for me.

diff -r a1b8b53606f6 -r c8e5761ed19d chirp/settings.py
--- a/chirp/settings.py Sat Sep 10 11:34:01 2016 -0400
+++ b/chirp/settings.py Fri Sep 16 03:00:33 2016 +0200
@@ -242,7 +242,7 @@
index = self._mem_vals.index(mem_val)
self.set_value(self._options[index])
else:
- raise InvalidValueError("%s is not valid for this setting" % value)
+ raise InvalidValueError("%s is not valid for this setting" % mem_val)

def __trunc__(self):
"""Return memory value that matches current user option"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20160916/efb06818/attachment-0001.html 


More information about the chirp_devel mailing list