commit: d78f89c5d2f0c86812bbf60cdd77d9bece5ec830 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> AuthorDate: Wed Apr 25 10:31:21 2018 +0000 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> CommitDate: Wed Apr 25 10:32:17 2018 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=d78f89c5
scripts/gen_archlist: Hack it to work with python3 As this is just a workaround, not a properly handled port, keep the shebang to python2 for now, but can at least run it via python3 ./gen_archlist.py now when not having python2 portage. scripts/gen_archlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py index 2d713180..746255f9 100755 --- a/scripts/gen_archlist.py +++ b/scripts/gen_archlist.py @@ -437,7 +437,7 @@ def main(): ' to be stabilized') args = parser.parse_args() - args.verbose = min(max(args.verbose, 0), 2) + args.verbose = min(max(args.verbose if args.verbose else 0, 0), 2) logging.config.dictConfig({ 'version': 1, 'disable_existing_loggers': True,