Skip to content

Commit

Permalink
always use FEEDBACKMAIL. Solve #5155 (#5157)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Feb 25, 2022
1 parent 19663b1 commit 37caaf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/CRABClient/Commands/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from CRABClient.ClientUtilities import getJobTypes, createCache, addPlugin, server_info, colors,\
setSubmitParserOptions, validateSubmitOptions, checkStatusLoop, execute_command

from ServerUtilities import MAX_MEMORY_PER_CORE, MAX_MEMORY_SINGLE_CORE, downloadFromS3
from ServerUtilities import MAX_MEMORY_PER_CORE, MAX_MEMORY_SINGLE_CORE, downloadFromS3, FEEDBACKMAIL

class submit(SubCommand):
"""
Expand Down Expand Up @@ -335,7 +335,7 @@ def validateConfig(self):

if hasattr(self.configuration.General, 'failureLimit'):
msg = "You have specified deprecated parameter 'failureLimit' which will be removed in the near future."
msg += "\nIf you really need it write a mail to hn-cms-computingTools explaining your use case."
msg += "\nIf you really need it write a mail to %s explaining your use case." % FEEDBACKMAIL
self.logger.warning("%sWARNING%s: %s" % (colors.RED, colors.NORMAL, msg))

return True, "Valid configuration"
Expand Down

0 comments on commit 37caaf2

Please sign in to comment.