diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-07-07 15:03:54 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-07-07 15:03:54 (GMT) |
commit | c20740109d59847ef3c7bfcb968e8c8fe019928a (patch) | |
tree | 0bc4f03d1ee416ddf7fbb7cfcaa7325c379ce3ff /Tools/pybench | |
parent | 61ea12c9a088268a0e3a2dbad09db966e865143f (diff) | |
download | cpython-c20740109d59847ef3c7bfcb968e8c8fe019928a.zip cpython-c20740109d59847ef3c7bfcb968e8c8fe019928a.tar.gz cpython-c20740109d59847ef3c7bfcb968e8c8fe019928a.tar.bz2 |
Some cleanup in the Tools directory.
Diffstat (limited to 'Tools/pybench')
-rwxr-xr-x | Tools/pybench/pybench.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py index cac2ddf..942f56d 100755 --- a/Tools/pybench/pybench.py +++ b/Tools/pybench/pybench.py @@ -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: @@ -963,8 +965,6 @@ python pybench.py -s p25.pybench -c p21.pybench 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, reason)) |