summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/AutoGen/UniClassObject.py
diff options
context:
space:
mode:
authorCarsey, Jaben <jaben.carsey@intel.com>2018-04-28 06:32:26 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-05-04 13:03:02 +0800
commit124d672ee6356f6cf6cc0188f5747e4a2a49d0db (patch)
treec8a764c5ae6ac3be712740fa99337cb7aa6ce4d7 /BaseTools/Source/Python/AutoGen/UniClassObject.py
parentcdd04623d73924103c22bdaf28e33f3bf5296b58 (diff)
downloadedk2-124d672ee6356f6cf6cc0188f5747e4a2a49d0db.tar.gz
edk2-124d672ee6356f6cf6cc0188f5747e4a2a49d0db.tar.bz2
edk2-124d672ee6356f6cf6cc0188f5747e4a2a49d0db.zip
BaseTools: AutoGen - remove global line
this serves no purpose since we dont change the global or assign to it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/UniClassObject.py')
-rw-r--r--BaseTools/Source/Python/AutoGen/UniClassObject.py2
1 files changed, 0 insertions, 2 deletions
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():