summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-02-03 15:53:30 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2017-02-03 15:53:30 -0800
commitc456dfb60fdcd24448140278f29f0e9d1de95800 (patch)
treec6c7a3ebf6626301033bca4e54af7b83a5e6ceac /var
parentb28d8345ec1fbc07493f42cb784a2bd28c7ddde8 (diff)
downloadspack-c456dfb60fdcd24448140278f29f0e9d1de95800.tar.gz
spack-c456dfb60fdcd24448140278f29f0e9d1de95800.tar.bz2
spack-c456dfb60fdcd24448140278f29f0e9d1de95800.tar.xz
spack-c456dfb60fdcd24448140278f29f0e9d1de95800.zip
Make module autoload warnings configurable (#2763)
Modules generated by the module creation machinery currently print out a notice that warnts the user that things are being autoloaded. In some situations those warnings are problematic. See #2754 for discussion. This is a first cut at optionally disabling the warning messages: - adds a helper tothe EnvModule base class that encapsulates the config file variable; - adds a method to the base class that provides a default (empty) code fragment for generating a warning message; - passes the warning fragment into the bit that formats the autoload string; - adds specialized autload_warner() methods in the tcl and lmod subclasses;; and finally - touches up the autoload_format strings in the specialized classes.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions