Mercurial > p > roundup > code
view demo.py @ 8548:98011edc6c60
refactor: remove duplicate code block
Had the same code inside two different if statements. Replaced
with 'if X in [ a, b ] ' and only one copy of the code.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 26 Mar 2026 21:46:19 -0400 |
| parents | 7f0bc46aee67 |
| children |
line wrap: on
line source
#!/usr/bin/env python3 import sys import roundup from roundup.demo import main sys.exit(main())
