summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-15 13:39:14 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-15 13:39:14 (GMT)
commit2c8bdd2a8cfa630e66e5b66fce0d24a3fe796c14 (patch)
treee5d7e21a8b69a397a9a6abfd04cb117c5dd06773 /src/engine/SCons/Tool
parent1923dc337f9f98c3e08b95654dea4b34084c6302 (diff)
downloadSCons-2c8bdd2a8cfa630e66e5b66fce0d24a3fe796c14.zip
SCons-2c8bdd2a8cfa630e66e5b66fce0d24a3fe796c14.tar.gz
SCons-2c8bdd2a8cfa630e66e5b66fce0d24a3fe796c14.tar.bz2
Documentation fixes.
Improve man page explanation of impact of not having external environment variables automatically imported. Fix cut-and-paste errors in descriptions of AppendENVPath() and Prepend(). Correct the __doc__ string for get_visualstudio_versions().
Diffstat (limited to 'src/engine/SCons/Tool')
-rw-r--r--src/engine/SCons/Tool/msvs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/SCons/Tool/msvs.py b/src/engine/SCons/Tool/msvs.py
index e03eb8d..90b756c 100644
--- a/src/engine/SCons/Tool/msvs.py
+++ b/src/engine/SCons/Tool/msvs.py
@@ -765,11 +765,11 @@ def get_default_visualstudio_version(env):
def get_visualstudio_versions():
"""
- Get list of visualstudio versions from the Windows registry. Return a
- list of strings containing version numbers; an exception will be raised
- if we were unable to access the registry (eg. couldn't import
- a registry-access module) or the appropriate registry keys weren't
- found.
+ Get list of visualstudio versions from the Windows registry.
+ Returns a list of strings containing version numbers. An empty list
+ is returned if we were unable to accees the register (for example,
+ we couldn't import the registry-access module) or the appropriate
+ registry keys weren't found.
"""
if not SCons.Util.can_read_reg: