summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Eot
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Eot')
-rw-r--r--BaseTools/Source/Python/Eot/c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Eot/c.py b/BaseTools/Source/Python/Eot/c.py
index 71d2b626db..8b11ed378f 100644
--- a/BaseTools/Source/Python/Eot/c.py
+++ b/BaseTools/Source/Python/Eot/c.py
@@ -361,7 +361,7 @@ def CreateCCodeDB(FileNameList):
collector = CodeFragmentCollector.CodeFragmentCollector(FullName)
try:
collector.ParseFile()
- except UnicodeError:
+ except:
ParseErrorFileList.append(FullName)
BaseName = os.path.basename(FullName)
DirName = os.path.dirname(FullName)