diff -r 61566f35ab22 -r c878e8255972 eric6/DebugClients/Python/PyProfile.py --- a/eric6/DebugClients/Python/PyProfile.py Mon Jun 22 17:55:06 2020 +0200 +++ b/eric6/DebugClients/Python/PyProfile.py Tue Jun 23 17:24:18 2020 +0200 @@ -11,7 +11,6 @@ import profile import atexit import pickle # secok -import sys class PyProfile(profile.Profile): @@ -119,10 +118,7 @@ @param frame the frame object @return fixed up file name (string) """ - if sys.version_info[0] == 2: - versionExt = '.py2' - else: - versionExt = '.py3' + versionExt = '.py3' # get module name from __file__ if (not isinstance(frame, profile.Profile.fake_frame) and