Skip to content

Commit 91eea27

Browse files
committed
Remove commented lines in get_lineno
1 parent 0d1265f commit 91eea27

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pynest/nest/server/hl_api_server.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,6 @@ def get_lineno(err, tb_idx):
401401
lineno = err.lineno
402402
else:
403403
tb = sys.exc_info()[2]
404-
# if hasattr(tb, "tb_lineno") and tb.tb_lineno is not None:
405-
# lineno = tb.tb_lineno
406-
# else:
407404
lineno = traceback.extract_tb(tb)[tb_idx][1]
408405
return lineno
409406

0 commit comments

Comments
 (0)