diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-03-13 15:53:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-03-13 15:53:18 -0700 |
commit | 6058f7aac606ed292007b94cb791d528acf6a338 (patch) | |
tree | 0265eed44e4fdcea263f0b58ba39b2571b282f7c /lib | |
parent | d905a1350ac939c70eb5f3742956d0dd0a219518 (diff) | |
download | spack-6058f7aac606ed292007b94cb791d528acf6a338.tar.gz spack-6058f7aac606ed292007b94cb791d528acf6a338.tar.bz2 spack-6058f7aac606ed292007b94cb791d528acf6a338.tar.xz spack-6058f7aac606ed292007b94cb791d528acf6a338.zip |
Add str() calls around messages in tty
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/tty.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/spack/spack/tty.py b/lib/spack/spack/tty.py index df4760df40..b9ad3f12bf 100644 --- a/lib/spack/spack/tty.py +++ b/lib/spack/spack/tty.py @@ -36,27 +36,27 @@ def msg(message, *args): def info(message, *args, **kwargs): format = kwargs.get('format', '*b') - cprint("@%s{==>} %s" % (format, cescape(message))) + cprint("@%s{==>} %s" % (format, cescape(str(message)))) for arg in args: print indent + str(arg) def verbose(message, *args): if spack.verbose: - info(message, *args, format='c') + info(str(message), *args, format='c') def debug(*args): if spack.debug: - info("Debug: " + message, *args, format='*g') + info("Debug: " + str(message), *args, format='*g') def error(message, *args): - info("Error: " + message, *args, format='*r') + info("Error: " + str(message), *args, format='*r') def warn(message, *args): - info("Warning: " + message, *args, format='*Y') + info("Warning: " + str(message), *args, format='*Y') def die(message, *args): |