diff options
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index 613967a4fa..1d486dbb74 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 |