# HG changeset patch # User Leo Bärring leo.barring@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"""