diff options
Diffstat (limited to 'pylint/utils.py')
-rw-r--r-- | pylint/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/utils.py b/pylint/utils.py index 9c078eba8..e4fd0b95c 100644 --- a/pylint/utils.py +++ b/pylint/utils.py @@ -436,7 +436,7 @@ class MessagesHandlerMixIn(object): else: module, obj = get_module_and_frameid(node) abspath = node.root().file - path = abspath.replace(self.reporter.path_strip_prefix, '') + path = abspath.replace(self.reporter.path_strip_prefix, '', 1) # add the message self.reporter.handle_message( Message(msgid, symbol, |