Commits

Geoffrey Sneddon committed 1a22a4c

Also provide the term that caused the exception to be raised

Comments (0)

Files changed (1)

specGen/processes/xref.py

 			
 			if len(term) > 0:
 				if term in self.dfns:
-					raise DuplicateTermException
+					raise DuplicateTermException, term
 				term = utils.spacesRegex.sub(" ", term)
 				
 				id = utils.generateID(dfn)