summaryrefslogtreecommitdiffstats
path: root/BaseTools/Scripts/MemoryProfileSymbolGen.py
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2018-06-25 18:31:33 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-06-27 16:33:25 +0800
commitccaa7754a29728df0a7485932aab4909f6be116a (patch)
tree38bc70e26055b57ff5adefe0d996fc7e2c9d62b4 /BaseTools/Scripts/MemoryProfileSymbolGen.py
parentdf29fd130abcc3094b8c5d842e4bfadd91cbf0e8 (diff)
downloadedk2-ccaa7754a29728df0a7485932aab4909f6be116a.tar.gz
edk2-ccaa7754a29728df0a7485932aab4909f6be116a.tar.bz2
edk2-ccaa7754a29728df0a7485932aab4909f6be116a.zip
BaseTools: Adjust the spaces around commas and colons
Based on "futurize -f lib2to3.fixes.fix_ws_comma" Contributed-under: TianoCore Contribution Agreement 1.1 Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Scripts/MemoryProfileSymbolGen.py')
-rw-r--r--BaseTools/Scripts/MemoryProfileSymbolGen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/BaseTools/Scripts/MemoryProfileSymbolGen.py b/BaseTools/Scripts/MemoryProfileSymbolGen.py
index 0a41f9d832..1dbb116bba 100644
--- a/BaseTools/Scripts/MemoryProfileSymbolGen.py
+++ b/BaseTools/Scripts/MemoryProfileSymbolGen.py
@@ -191,7 +191,7 @@ def processLine(newline):
driverPrefixLen = len("Driver - ")
# get driver name
- if cmp(newline[0:driverPrefixLen],"Driver - ") == 0 :
+ if cmp(newline[0:driverPrefixLen], "Driver - ") == 0 :
driverlineList = newline.split(" ")
driverName = driverlineList[2]
#print "Checking : ", driverName
@@ -214,7 +214,7 @@ def processLine(newline):
else :
symbolsFile.symbolsTable[driverName].parse_debug_file (driverName, pdbName)
- elif cmp(newline,"") == 0 :
+ elif cmp(newline, "") == 0 :
driverName = ""
# check entry line
@@ -227,7 +227,7 @@ def processLine(newline):
rvaName = ""
symbolName = ""
- if cmp(rvaName,"") == 0 :
+ if cmp(rvaName, "") == 0 :
return newline
else :
return newline + symbolName