summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-06-29 04:17:45 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-06-29 04:17:45 (GMT)
commit9b924c690eb2de515a1eda4221e15a483c6b7316 (patch)
treef72abbea777bfcc7f41621900990a769997a815e /Lib/platform.py
parent77290f25f3ae79608ad39bb32fdacaa3dac15b7c (diff)
downloadcpython-9b924c690eb2de515a1eda4221e15a483c6b7316.zip
cpython-9b924c690eb2de515a1eda4221e15a483c6b7316.tar.gz
cpython-9b924c690eb2de515a1eda4221e15a483c6b7316.tar.bz2
remove extra parameter from _java_getprop, remove duplicate imports
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/platform.py b/Lib/platform.py
index 613967a..1d486db 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -585,7 +585,7 @@ def mac_ver(release='',versioninfo=('','',''),machine=''):
0x2: 'PowerPC'}.get(sysa,'')
return release,versioninfo,machine
-def _java_getprop(self,name,default):
+def _java_getprop(name,default):
from java.lang import System
try:
@@ -1079,7 +1079,7 @@ def _sys_version():
"""
global _sys_version_cache
- import sys, re, time
+ import time
if _sys_version_cache is not None:
return _sys_version_cache