eric6/Utilities/ClassBrowsers/pyclbr.py

changeset 7676
0f67b4562d98
parent 7639
422fd05e9c91
child 7685
0b6e8c0d6403
--- a/eric6/Utilities/ClassBrowsers/pyclbr.py	Mon Aug 24 18:12:22 2020 +0200
+++ b/eric6/Utilities/ClassBrowsers/pyclbr.py	Tue Aug 25 14:53:43 2020 +0200
@@ -386,6 +386,8 @@
         # can't do anything with this module
         _modules[module] = dictionary
         return dictionary
+    # convert eol markers the Python style
+    src = src.replace("\r\n", "\n").replace("\r", "\n")
 
     lineno, last_lineno_pos = 1, 0
     lastGlobalEntry = None

eric ide

mercurial