# update the timestamp in database\r
self._FileIndexTable.SetFileTimeStamp(self.IdBase, TimeStamp)\r
return False\r
- except Exception, Exc:\r
+ except Exception as Exc:\r
EdkLogger.debug(EdkLogger.DEBUG_5, str(Exc))\r
return False\r
return True\r
if comment.startswith("@Expression"):\r
comment = comment.replace("@Expression", "", 1)\r
expressions.append(comment.split("|")[1].strip())\r
- except Exception, Exc:\r
+ except Exception as Exc:\r
ValidType = ""\r
if oricomment.startswith("@ValidRange"):\r
ValidType = "@ValidRange"\r