Skip to content

Commit

Permalink
Highlight user message (#4764)
Browse files Browse the repository at this point in the history
* Highlight user message
  • Loading branch information
lecriste authored May 18, 2018
1 parent 0383d9f commit 1dc58d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/CRABClient/JobType/CMSSWConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from ServerUtilities import BOOTSTRAP_CFGFILE_DUMP

from CRABClient.ClientExceptions import ConfigurationException, EnvironmentException
from CRABClient.ClientUtilities import bootstrapDone, BOOTSTRAP_CFGFILE_PKL, BOOTSTRAP_INFOFILE, LOGGERS
from CRABClient.ClientUtilities import bootstrapDone, colors, BOOTSTRAP_CFGFILE_PKL, BOOTSTRAP_INFOFILE, LOGGERS


configurationCache = {}
Expand Down Expand Up @@ -256,7 +256,7 @@ def validateConfig(self):
msg = "The only values allowed for config.JobType.numCores are 1, 2, 4, 8"
return False, msg
elif numPSetCores > 1:
self.logger.info("You are requesting more than 1 core per job. Please make sure that your multi-threaded code is thread-safe and CPU-efficient.")
self.logger.info("%sYou are requesting more than 1 core per job. Please make sure that your multi-threaded code is thread-safe and CPU-efficient.%s" % (colors.RED, colors.NORMAL))

return True, "Valid configuration"

0 comments on commit 1dc58d6

Please sign in to comment.