Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/tcf/services/linenumbers.py')
-rw-r--r--python/src/tcf/services/linenumbers.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/src/tcf/services/linenumbers.py b/python/src/tcf/services/linenumbers.py
index 65d1b84ab..410e8d2b4 100644
--- a/python/src/tcf/services/linenumbers.py
+++ b/python/src/tcf/services/linenumbers.py
@@ -14,7 +14,6 @@ Line numbers service associates locations in the source files with the correspon
machine instruction addresses in the executable object.
"""
-import exceptions
from tcf import services
NAME = "LineNumbers"
@@ -119,10 +118,10 @@ class LineNumbersService(services.Service):
return NAME
def mapToSource(self, context_id, start_address, end_address, done):
- raise exceptions.NotImplementedError("Abstract method")
+ raise NotImplementedError("Abstract method")
def mapToMemory(self, context_id, file, line, column, done):
- raise exceptions.NotImplementedError("Abstract method")
+ raise NotImplementedError("Abstract method")
class DoneMapToSource(object):
def doneMapToSource(self, token, error, areas):

Back to the top