mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Some cleanup in the Tools directory.
This commit is contained in:
parent
61ea12c9a0
commit
c20740109d
8 changed files with 53 additions and 49 deletions
|
@ -35,7 +35,9 @@ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
|||
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !
|
||||
"""
|
||||
|
||||
import sys, time, operator, platform
|
||||
import sys
|
||||
import time
|
||||
import platform
|
||||
from CommandLine import *
|
||||
|
||||
try:
|
||||
|
@ -962,8 +964,6 @@ python pybench.py -s p25.pybench -c p21.pybench
|
|||
bench.name = reportfile
|
||||
pickle.dump(bench,f)
|
||||
f.close()
|
||||
except IOError as reason:
|
||||
print('* Error opening/writing reportfile')
|
||||
except IOError as reason:
|
||||
print('* Error opening/writing reportfile %s: %s' % (
|
||||
reportfile,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue