diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-02-27 21:51:38 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-02-27 21:51:38 (GMT) |
commit | e123fce835056a1e75c6630fe146bb7d45b19970 (patch) | |
tree | 313e397d99cd3214f373800f81fee756e8d43660 /QMTest/TestCmd.py | |
parent | d52e3d6a0b0d9bd486c29ba0eb7e992fea14a786 (diff) | |
download | SCons-e123fce835056a1e75c6630fe146bb7d45b19970.zip SCons-e123fce835056a1e75c6630fe146bb7d45b19970.tar.gz SCons-e123fce835056a1e75c6630fe146bb7d45b19970.tar.bz2 |
Misc Windows test cleanups
Diffstat (limited to 'QMTest/TestCmd.py')
-rw-r--r-- | QMTest/TestCmd.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py index 2c90302..d64ef78 100644 --- a/QMTest/TestCmd.py +++ b/QMTest/TestCmd.py @@ -1394,7 +1394,10 @@ class TestCmd(object): under the temporary working directory. """ link = self.canonicalize(link) - os.symlink(target, link) + try: + os.symlink(target, link) + except AttributeError: + pass # Windows has no symlink def tempdir(self, path=None): """Creates a temporary directory. |