Mercurial > p > roundup > code
comparison roundup/admin.py @ 7249:bd2dc1484b39
flake8 fix
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 11 Apr 2023 22:06:07 -0400 |
| parents | 07ce4e4110f5 |
| children | ee972b3073cb |
comparison
equal
deleted
inserted
replaced
| 7248:42700b366583 | 7249:bd2dc1484b39 |
|---|---|
| 1815 rounds = _("scheme does not support rounds.") | 1815 rounds = _("scheme does not support rounds.") |
| 1816 | 1816 |
| 1817 print(_( | 1817 print(_( |
| 1818 "Hash time: %(time)0.9f seconds, scheme: %(scheme)s, " | 1818 "Hash time: %(time)0.9f seconds, scheme: %(scheme)s, " |
| 1819 "rounds: %(rounds)s") % | 1819 "rounds: %(rounds)s") % |
| 1820 { "time": toc-tic, "scheme": props['scheme'], | 1820 {"time": toc-tic, "scheme": props['scheme'], |
| 1821 "rounds": rounds}) | 1821 "rounds": rounds}) |
| 1822 | 1822 |
| 1823 def run_command(self, args): | 1823 def run_command(self, args): |
| 1824 """Run a single command | 1824 """Run a single command |
| 1825 """ | 1825 """ |
| 1826 command = args[0] | 1826 command = args[0] |
