summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2012-05-18 12:20:04 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2012-05-18 12:20:04 (GMT)
commitd18c397ed627b2c6885066bc95ae68d4ac255390 (patch)
treed90c66df77b48e94aa0a0cac1630b23e6d248d20
parent207c4b686c517bd40049d5959d82b1fab6b27743 (diff)
downloadcpython-d18c397ed627b2c6885066bc95ae68d4ac255390.zip
cpython-d18c397ed627b2c6885066bc95ae68d4ac255390.tar.gz
cpython-d18c397ed627b2c6885066bc95ae68d4ac255390.tar.bz2
Port to VS 2010.
-rw-r--r--PCbuild/build_ssl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py
index 04ad77b..6a270f1 100644
--- a/PCbuild/build_ssl.py
+++ b/PCbuild/build_ssl.py
@@ -65,9 +65,9 @@ def find_working_perl(perls):
# Fetch SSL directory from VC properties
def get_ssl_dir():
- propfile = (os.path.join(os.path.dirname(__file__), 'pyproject.vsprops'))
+ propfile = (os.path.join(os.path.dirname(__file__), 'pyproject.props'))
with open(propfile) as f:
- m = re.search('openssl-([^"]+)"', f.read())
+ m = re.search('openssl-([^<]+)<', f.read())
return "..\..\openssl-"+m.group(1)