[chirp_devel] [PATCH 2 of 2] [px777] Fix tests failing on blank name. Related to #364

Tom Hayward
Sun Jul 14 23:43:10 PDT 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1373870543 25200
# Node ID 5a5a53db1bb2d657af48e9fbc0c4425e8733cb7b
# Parent  3f3d39f2cd381abb010ffa9ea10c3181287521d0
[px777] Fix tests failing on blank name. Related to #364

diff -r 3f3d39f2cd38 -r 5a5a53db1bb2 chirp/puxing.py
--- a/chirp/puxing.py	Sun Jul 14 23:42:23 2013 -0700
+++ b/chirp/puxing.py	Sun Jul 14 23:42:23 2013 -0700
@@ -287,6 +287,7 @@
             if i == 0xFF:
                 break
             mem.name += PUXING_CHARSET[i]
+        mem.name = mem.name.rstrip()
 
         return mem
 



More information about the chirp_devel mailing list