Skip to content

Commit cabdcdc

Browse files
authored
Small cleanup in filter_traceback after merge (#3401)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 087b046 commit cabdcdc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/triton/compiler/compiler.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,9 @@ def filter_traceback(e: BaseException):
190190
filter_traceback(e.__context__)
191191

192192
# If a user has a file that matches one of these, they're out of luck.
193-
sep = os.sep
194193
BAD_FILES = [
195-
f"{sep}triton{sep}compiler{sep}code_generator.py",
196-
f"{sep}ast.py",
194+
"/triton/compiler/code_generator.py",
195+
"/ast.py",
197196
]
198197
BAD_FILES = [bad_file.replace("/", os.sep) for bad_file in BAD_FILES]
199198

0 commit comments

Comments
 (0)