BaseTools: Remove the old python "not-equal"
Replace "<>" with "!=" to be compatible with python3. 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>
This commit is contained in:
@ -1293,7 +1293,7 @@ def ParseDevPathValue (Value):
|
||||
def ParseFieldValue (Value):
|
||||
if type(Value) == type(0):
|
||||
return Value, (Value.bit_length() + 7) / 8
|
||||
if type(Value) <> type(''):
|
||||
if type(Value) != type(''):
|
||||
raise BadExpression('Type %s is %s' %(Value, type(Value)))
|
||||
Value = Value.strip()
|
||||
if Value.startswith(TAB_UINT8) and Value.endswith(')'):
|
||||
|
Reference in New Issue
Block a user