Mercurial > p > roundup > code
comparison roundup/version_check.py @ 8562:9c3ec0a5c7fc
chore: remove __future print_funcion from code.
Not needed as of Python 3.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 08 Apr 2026 21:39:40 -0400 |
| parents | f72381d300a4 |
| children |
comparison
equal
deleted
inserted
replaced
| 8561:395c258636ad | 8562:9c3ec0a5c7fc |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 # Roundup requires Python 3.7+ as mentioned in doc\installation.txt | 3 # Roundup requires Python 3.7+ as mentioned in doc\installation.txt |
| 4 from __future__ import print_function | |
| 5 import sys | 4 import sys |
| 6 | 5 |
| 7 VERSION_NEEDED = (3, 7) | 6 VERSION_NEEDED = (3, 7) |
| 8 | 7 |
| 9 if sys.version_info < VERSION_NEEDED: | 8 if sys.version_info < VERSION_NEEDED: |
