Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion beeswithmachineguns/bees.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def _create_request_time_cdf_csv(results, complete_bees_params, request_time_cdf
# see http://python3porting.com/problems.html#csv-api-changes
openmode = IS_PY2 and 'w' or 'wt'
openkwargs = IS_PY2 and {} or {'encoding': 'utf-8', 'newline': ''}
with open(csv_filename, openmode, openkwargs) as stream:
with open(csv_filename, openmode, **openkwargs) as stream:
writer = csv.writer(stream)
header = ["% faster than", "all bees [ms]"]
for p in complete_bees_params:
Expand Down