diff options
Diffstat (limited to 'BaseTools/Source/Python/UPT/Xml/XmlParserMisc.py')
-rw-r--r-- | BaseTools/Source/Python/UPT/Xml/XmlParserMisc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/UPT/Xml/XmlParserMisc.py b/BaseTools/Source/Python/UPT/Xml/XmlParserMisc.py index bf64d89f17..d170761aad 100644 --- a/BaseTools/Source/Python/UPT/Xml/XmlParserMisc.py +++ b/BaseTools/Source/Python/UPT/Xml/XmlParserMisc.py @@ -53,7 +53,7 @@ def ConvertVariableName(VariableName): if SecondByte != 0:
return None
- if FirstByte not in range(0x20, 0x7F):
+ if FirstByte not in xrange(0x20, 0x7F):
return None
TransferedStr += ('%c')%FirstByte
Index = Index + 2
|