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/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgHello Holger Freyther, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/1917 to look at the new patch set (#3). tcp debugging: allow switching on TCP debug by env var Print monitoring info about TCP sockets when the env var OSMOPY_DEBUG_TCP_SOCKETS is present and not "0". Makes it easy to enable it on jenkins without blowing up output of normal runs "at home". Change-Id: I46212d07a2c1be05672a37766457e6c98b68f90d --- M osmopy/obscvty.py 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/17/1917/3 diff --git a/osmopy/obscvty.py b/osmopy/obscvty.py index e4df57d..4457a90 100755 --- a/osmopy/obscvty.py +++ b/osmopy/obscvty.py @@ -19,6 +19,7 @@ import re import socket import sys, subprocess +import os """VTYInteract: interact with an osmocom vty @@ -26,7 +27,7 @@ Connections will be reestablished as necessary. Methods: __init__, command, enabled_command, verify, w_verify""" -debug_tcp_sockets = False +debug_tcp_sockets = (os.getenv('OSMOPY_DEBUG_TCP_SOCKETS', '0') != '0') def cmd(what): print '\n> %s' % what -- To view, visit https://gerrit.osmocom.org/1917 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I46212d07a2c1be05672a37766457e6c98b68f90d Gerrit-PatchSet: 3 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de> Gerrit-Reviewer: Holger Freyther <holger at freyther.de> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>