Skip to content

Commit

Permalink
Fix W1201. (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
drawlerr authored Jan 14, 2020
1 parent 63012d9 commit bdef61c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ disable=print-statement,
W0612,
W0613,
W0621,
W0631,
W1201
W0631


# Enable the message, report, category or checker with the given id(s). You can
Expand Down
4 changes: 2 additions & 2 deletions esrally/mechanic/supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def _supply_requirements(sources, distribution, build, plugins, revisions, distr
if not plugin_revision or SourceRepository.is_commit_hash(plugin_revision):
raise exceptions.SystemSetupError("No revision specified for plugin [%s]." % plugin.name)
else:
logging.getLogger(__name__).info("Revision for [%s] is not explicitly defined. Using catch-all revision [%s]."
% (plugin.name, plugin_revision))
logging.getLogger(__name__).info("Revision for [%s] is not explicitly defined. Using catch-all revision [%s].",
plugin.name, plugin_revision)
supply_requirements[plugin.name] = ("source", plugin_revision, plugin_needs_build)
else:
supply_requirements[plugin.name] = (distribution, _required_version(distribution_version), False)
Expand Down
2 changes: 1 addition & 1 deletion esrally/track/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def create_readers(num_clients, client_index, corpora, batch_size, bulk_size, id
docs.includes_action_and_meta_data)
if num_docs > 0:
logger.info("Task-relative client at index [%d] will bulk index [%d] docs starting from line offset [%d] for [%s/%s] "
"from corpus [%s]." % (client_index, num_docs, offset, docs.target_index, docs.target_type, corpus.name))
"from corpus [%s].", client_index, num_docs, offset, docs.target_index, docs.target_type, corpus.name)
readers.append(create_reader(docs, offset, num_lines, num_docs, batch_size, bulk_size, id_conflicts, conflict_probability,
on_conflict, recency))
else:
Expand Down

0 comments on commit bdef61c

Please sign in to comment.