X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FAutoGen%2FUniClassObject.py;fp=BaseTools%2FSource%2FPython%2FAutoGen%2FUniClassObject.py;h=aa97f19e55b4646fbcdc5731ab297a766a97ef64;hp=4e16afec5c28932cf9a65312197c078ab8cbae8c;hb=124d672ee6356f6cf6cc0188f5747e4a2a49d0db;hpb=cdd04623d73924103c22bdaf28e33f3bf5296b58 diff --git a/BaseTools/Source/Python/AutoGen/UniClassObject.py b/BaseTools/Source/Python/AutoGen/UniClassObject.py index 4e16afec5c..aa97f19e55 100644 --- a/BaseTools/Source/Python/AutoGen/UniClassObject.py +++ b/BaseTools/Source/Python/AutoGen/UniClassObject.py @@ -118,8 +118,6 @@ LangConvTable = {'eng':'en', 'fra':'fr', \ # @retval LangName: Valid lanugage code in RFC 4646 format or None # def GetLanguageCode(LangName, IsCompatibleMode, File): - global LangConvTable - length = len(LangName) if IsCompatibleMode: if length == 3 and LangName.isalpha():