diff --git a/Python/traceback.c b/Python/traceback.c index 1c26ba271ab..53491eec837 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -161,7 +161,6 @@ _Py_DisplaySourceLine(PyObject *f, const char *filename, int lineno, int indent) strcpy(namebuf+len, tail); xfp = fopen(namebuf, "r" PY_STDIOTEXTMODE); if (xfp != NULL) { - filename = namebuf; break; } }