Skip to content

Commit

Permalink
compute/parallel.py: Don't use format with log
Browse files Browse the repository at this point in the history
  • Loading branch information
wmayner committed May 30, 2018
1 parent 4b12df0 commit 4e9b513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyphi/compute/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def get_num_processes():
'Invalid NUMBER_OF_CORES; value may not be 0.')

if config.NUMBER_OF_CORES > cpu_count:
log.info('Requesting {} cores; only {} available'.format(
config.NUMBER_OF_CORES, cpu_count))
log.info('Requesting %s cores; only %s available',
config.NUMBER_OF_CORES, cpu_count)
return cpu_count

if config.NUMBER_OF_CORES < 0:
Expand Down

0 comments on commit 4e9b513

Please sign in to comment.