Source

rope_py3k / rope / base / pycore.py

Diff from to

File rope/base/pycore.py

         else:
             result = PyModule(self.pycore, resource=resource,
                               force_errors=force_errors)
+            if result.has_errors:
+                return result
         self.module_map[resource] = result
         self.observer.add_resource(resource)
         return result