python/osmo-python-tests[master]: Fix python3 compatibility

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
Tue Dec 12 14:32:16 UTC 2017


Patch Set 1: Code-Review-1

(1 comment)

py3 foo again? I'm not sure this is worth the effort...

- have you verified that these tools work as expected in both py2 and py3?

- at least two code lines you tweak will break py2

https://gerrit.osmocom.org/#/c/5280/1/osmopy/osmoutil.py
File osmopy/osmoutil.py:

Line 84:             print("osmoappdesc not found in %s" % dirname, file=sys.stderr)
will no longer work in py2


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib10dfbec18202245031a634fc3f19677fc952e60
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list