diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-02-22 23:00:14 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-02-23 01:23:30 -0800 |
commit | 6dab133d9f001d5e03fde25bdd3d412adf2a7b56 (patch) | |
tree | 1e3a7721e2995ba5c2abfb933f51d9913f855f2e | |
parent | d49c98188a68d4aad0410ac1d0df759117773937 (diff) | |
download | spack-6dab133d9f001d5e03fde25bdd3d412adf2a7b56.tar.gz spack-6dab133d9f001d5e03fde25bdd3d412adf2a7b56.tar.bz2 spack-6dab133d9f001d5e03fde25bdd3d412adf2a7b56.tar.xz spack-6dab133d9f001d5e03fde25bdd3d412adf2a7b56.zip |
Same package add icon on mac and linux.
-rw-r--r-- | lib/spack/spack/package.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index fed62f6cb7..137e8f8837 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -1171,12 +1171,8 @@ def validate_package_url(url_string): def print_pkg(message): """Outputs a message with a package icon.""" - mac_ver = py_platform.mac_ver()[0] - if mac_ver and Version(mac_ver) >= Version('10.7'): - print u"\U0001F4E6" + tty.indent, - else: - from llnl.util.tty.color import cwrite - cwrite('@*g{[+]} ') + from llnl.util.tty.color import cwrite + cwrite('@*g{[+]} ') print message |