osmo-python-tests.git branch master updated. 56aa4785c028a72211913b6c1e11a0173abce062

gitosis at osmocom.org gitosis at osmocom.org
Wed Dec 20 11:11:31 UTC 2017


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 "UNNAMED PROJECT".

The branch, master has been updated
       via  56aa4785c028a72211913b6c1e11a0173abce062 (commit)
      from  1a5364696eaf66a382e6d451bc4255622d845a92 (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/python/osmo-python-tests/commit/?id=56aa4785c028a72211913b6c1e11a0173abce062

commit 56aa4785c028a72211913b6c1e11a0173abce062
Author: Neels Hofmeyr <neels at hofmeyr.de>
Date:   Tue Dec 19 14:12:16 2017 +0100

    fix osmo_interact_* and osmo_verify_transcript_* after dir split
    
    After I30cdf0f85b2a60a235960911c9827f4129da40db,
    * the osmo_interact_{vty,ctrl}.py can no longer import osmo_interact_common,
      since it was moved to scripts/ in error.
    * the osmo_verify_{vty,ctrl} scripts can no longer import osmo_interact_{vty,ctrl},
      since it is also in scripts/. Notably, the osmo_interact_{vty,ctrl}.py also
      served as scripts while being modules at the same time, which is not good.
    
    Fix these issues by adding a new osmopy/osmo_interact/ submodule with
    osmopy/osmo_interact/common.py, /vty.py and /ctrl.py as modules, and add in
    scripts thin wrappers that invoke the modules' main().
    
    Change-Id: I40a37b212274cb70ebb1e1d9d1b3743eb2d64d05

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

Summary of changes:
 osmopy/__init__.py                                 |   4 +-
 osmopy/osmo_interact/__init__.py                   |   2 +
 .../osmo_interact/common.py                        |   5 +
 .../osmo_interact/ctrl.py                          |  18 ++-
 .../osmo_interact/vty.py                           |  14 +-
 scripts/osmo_interact_ctrl.py                      |  79 +---------
 scripts/osmo_interact_vty.py                       | 159 +--------------------
 scripts/osmo_verify_transcript_ctrl.py             |  37 +----
 scripts/osmo_verify_transcript_vty.py              |  46 +-----
 9 files changed, 45 insertions(+), 319 deletions(-)
 create mode 100644 osmopy/osmo_interact/__init__.py
 rename scripts/osmo_interact_common.py => osmopy/osmo_interact/common.py (98%)
 copy scripts/osmo_interact_ctrl.py => osmopy/osmo_interact/ctrl.py (82%)
 copy scripts/osmo_interact_vty.py => osmopy/osmo_interact/vty.py (94%)


hooks/post-receive
-- 
UNNAMED PROJECT


More information about the osmocom-commitlog mailing list