diff --git a/ciscoconfparse/ccp_abc.py b/ciscoconfparse/ccp_abc.py index 92a39b19..5b0aafea 100644 --- a/ciscoconfparse/ccp_abc.py +++ b/ciscoconfparse/ccp_abc.py @@ -151,7 +151,7 @@ def calculate_line_id(self): # together. _line_id = hash(" " * indent + " ".join(self.text.strip().split())) - if False: + if 1 == 2: # Do not execute this code... ################################################################## # use str.split() below to ensure that whitespace differences # hash the same way... I added this code as a possible @@ -162,6 +162,7 @@ def calculate_line_id(self): # I am keeping this in calculate_line_id() to document the # proposal and why I decided against it. ################################################################## + raise NotImplementedError() indent_str = indent * " " if self.is_comment is False: _line_id = hash(indent_str + " ".join(self.text.strip().split()))