## @file\r
# This is the base class for applications that operate on an EDK II Workspace \r
#\r
-# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
except:\r
Lines = []\r
Keys = Dictionary.keys()\r
- MaxLength = 0\r
- for Key in Keys:\r
- if len(Key) > MaxLength:\r
- MaxLength = len(Key)\r
+ MaxLength = max(map(len,Keys))\r
Index = 0\r
for Line in Lines:\r
LineList = Line.split(KeySplitCharacter, 1)\r