openbsc.git branch master updated. 0.15.0-224-g8bb6204

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Fri Apr 15 01:41:46 UTC 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".

The branch, master has been updated
       via  8bb6204d50373ad99b769f8cf42850ae30551c08 (commit)
      from  2abf2b072d7616ffa760461b6d6bd44a28490066 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=8bb6204d50373ad99b769f8cf42850ae30551c08

commit 8bb6204d50373ad99b769f8cf42850ae30551c08
Author: Holger Hans Peter Freyther <holger at moiji-mobile.com>
Date:   Thu Apr 14 21:40:04 2016 -0400

    nat/vty: Fix construct not working with python 2.6
    
    Use the simpler approach and just call encode('hex') on the str and
    then convert it to lower case to keep the tests working.
    
    reproduce:
    
    Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
    [GCC 4.4.5] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> d = '\0\0'
    >>> d
    '\x00\x00'
    >>> "".join("{:02x}".format(ord(c)) for c in d)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "<stdin>", line 1, in <genexpr>
    ValueError: zero length field name in format
    
    fixes:
    
    ======================================================================
    ERROR: testBSCreload (__main__.TestVTYNAT)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./vty_test_runner.py", line 658, in testBSCreload
        b0 = nat_bsc_sock_test(0, "lol")
      File "./vty_test_runner.py", line 1150, in nat_bsc_sock_test
        ipa_handle_small(bsc, verbose)
      File "./vty_test_runner.py", line 1116, in ipa_handle_small
        s = data2str(x.recv(4))
      File "./vty_test_runner.py", line 1100, in data2str
        return "".join("{:02x}".format(ord(c)) for c in d)
      File "./vty_test_runner.py", line 1100, in <genexpr>
        return "".join("{:02x}".format(ord(c)) for c in d)
    ValueError: zero length field name in format
    
    ----------------------------------------------------------------------

-----------------------------------------------------------------------

Summary of changes:
 openbsc/tests/vty_test_runner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)



More information about the osmocom-commitlog mailing list