summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.hgtags1
-rwxr-xr-xLib/platform.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/.hgtags b/.hgtags
index a2e89e9581..ab6ce659e2 100644
--- a/.hgtags
+++ b/.hgtags
@@ -152,3 +152,4 @@ b4cbecbc0781e89a309d03b60a1f75f8499250e6 v3.4.3
7a088af5615bf04024e9912068f4bd8f43ed3917 v3.5.0b2
0035fcd9b9243ae52c2e830204fd9c1f7d528534 v3.5.0b3
c0d64105463581f85d0e368e8d6e59b7fd8f12b1 v3.5.0b4
+1a58b1227501e046eee13d90f113417b60843301 v3.5.0rc1
diff --git a/Lib/platform.py b/Lib/platform.py
index 6345184902..9096696a7e 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -440,7 +440,7 @@ def _syscmd_ver(system='', release='', version='',
# Try some common cmd strings
for cmd in ('ver', 'command /c ver', 'cmd /c ver'):
try:
- pipe = popen(cmd)
+ pipe = os.popen(cmd)
info = pipe.read()
if pipe.close():
raise OSError('command failed')