File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,14 @@ def ptvsd_folder_name():
25
25
try :
26
26
spec , = specs
27
27
version = spec .version
28
- # print(f"ptvsd version: {version}")
29
- except ValueError as v :
30
- # print(f"Value error: {v}")
28
+ print (f"ptvsd version: { version } " )
29
+ except :
31
30
# Fallpack to use base PTVSD path.
32
31
print (PYTHONFILES , end = "" )
33
32
return
34
33
break
35
34
36
35
try :
37
- # print("** Available tags: **")
38
- # for k in sys_tags():
39
- # print(
40
- # f"interpreter: {k.interpreter} - abi: {k.abi} - platform: {k.platform}"
41
- # )
42
- # print("----")
43
36
for tag in sys_tags ():
44
37
# Support PTVSD's py2.py3 compressed tag.
45
38
interpreter = "py2.py3" if tag .interpreter == "py3" else tag .interpreter
@@ -52,8 +45,8 @@ def ptvsd_folder_name():
52
45
return
53
46
else :
54
47
print (f"{ folder_path } doesn't exist" )
55
- except Exeption as e :
56
- print (f"Exception: { e } " )
48
+ except :
49
+ print (f"Something went wrong " )
57
50
# Fallback to use base PTVSD path no matter the exception.
58
51
print (PYTHONFILES , end = "" )
59
52
return
You can’t perform that action at this time.
0 commit comments