Skip to content

Commit 86e8d7d

Browse files
committed
Remove some logging
1 parent 5ba1c9c commit 86e8d7d

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

pythonFiles/ptvsd_folder_name.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,14 @@ def ptvsd_folder_name():
2525
try:
2626
spec, = specs
2727
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:
3130
# Fallpack to use base PTVSD path.
3231
print(PYTHONFILES, end="")
3332
return
3433
break
3534

3635
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("----")
4336
for tag in sys_tags():
4437
# Support PTVSD's py2.py3 compressed tag.
4538
interpreter = "py2.py3" if tag.interpreter == "py3" else tag.interpreter
@@ -52,8 +45,8 @@ def ptvsd_folder_name():
5245
return
5346
else:
5447
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")
5750
# Fallback to use base PTVSD path no matter the exception.
5851
print(PYTHONFILES, end="")
5952
return

0 commit comments

Comments
 (0)