Skip to content

Commit

Permalink
Commenting in the queue_timings analysis script
Browse files Browse the repository at this point in the history
  • Loading branch information
teward committed Mar 18, 2017
1 parent 47d0cf9 commit 0f25473
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion queue_timings.py
@@ -1,8 +1,10 @@
# queue_timings.py
# Analysis script for bodyfetcher queue timings. Call from the command line using Python 3.
# Analysis script for bodyfetcher queue timings. Call from the command line using Python 3 (or Python 2, thanks to
# the compatibility code below).

import os.path
import platform
# Handle both Python 2 and Python 3 compatibility with Pickle and cPickle
if int(platform.python_version_tuple()[0]) == 2:
import cPickle as pickle
elif int(platform.python_version_tuple()[0]) == 3:
Expand Down

1 comment on commit 0f25473

@ArtOfCode-
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted, because I pushed a commit yesterday that made this script py2-only.

Please sign in to comment.