misc/build_helpers/run_trial.py: fix typo in last patch.

This commit is contained in:
david-sarah 2010-10-31 08:52:15 -07:00
parent 6e76653913
commit 7da0457ee5

View File

@ -88,7 +88,7 @@ if not same:
cwdu = os.path.normcase(os.path.normpath(os.getcwdu()) cwdu = os.path.normcase(os.path.normpath(os.getcwdu())
if os.path.basename(cwdu) == u'src': if os.path.basename(cwdu) == u'src':
cwdu = os.path.dirname(cwdu) cwdu = os.path.dirname(cwdu)
if not isinstance(cwd, unicode) and cwd.decode(sys.getfilesystemencoding(), 'replace') != cwdu): if not isinstance(cwd, unicode) and cwd.decode(sys.getfilesystemencoding(), 'replace') != cwdu:
msg += ("However, this may be a false alarm because the current directory path\n" msg += ("However, this may be a false alarm because the current directory path\n"
"is not representable in the filesystem encoding. This script needs to be\n" "is not representable in the filesystem encoding. This script needs to be\n"
"run from the source directory to be tested, at a non-Unicode path.") "run from the source directory to be tested, at a non-Unicode path.")