view roundup/anypy/my_input.py @ 7671:2fc2b14edbf7

doc: add -it to docker command for running trivy It makes the progress bar display correctly.
author John Rouillard <rouilj@ieee.org>
date Tue, 24 Oct 2023 09:32:06 -0400
parents 4cf48ff01e04
children
line wrap: on
line source

try:
    # Python 2.
    my_input = raw_input
except NameError:
    # Python 3+.
    my_input = input

Roundup Issue Tracker: http://roundup-tracker.org/