python/osmo-python-tests[master]: on Exception during test, also print the actual config

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.org
Thu Mar 2 15:08:42 UTC 2017


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/1922/1/osmopy/osmotestconfig.py
File osmopy/osmotestconfig.py:

Line 68:         print >> sys.stderr, "Config was\n%s" % open(config).read()
> That could remain open for a long time.. besides being lucky by the refcoun
it doesn't in practice because we're raising an IOError and the program exits right away.


-- 
To view, visit https://gerrit.osmocom.org/1922
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I9b00f170fb0cdceb35b9231eb1f2c545ba079d1d
Gerrit-PatchSet: 1
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>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list