diff --git a/src/Resource_Files/python3lib/sanitycheck.py b/src/Resource_Files/python3lib/sanitycheck.py index 65cbcae046..f8dbac112e 100644 --- a/src/Resource_Files/python3lib/sanitycheck.py +++ b/src/Resource_Files/python3lib/sanitycheck.py @@ -160,7 +160,7 @@ def parsetag(self, s): while s[p:p+1] != qt: p += 1 # Opening quote with no closing quote - if p >= taglen: # Don't cross the next '=' boundary when seeking matching quote + if p >= taglen: error_msg = 'Attribute "' + aname + '" has unmatched quotes on attribute value' self.errors.append((self.tag_start[0], self.tag_start[1], error_msg)) self.has_error = True