fasm2frame: dont print nested exception

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2018-01-30 14:39:09 -08:00
parent 618fbf87c4
commit 2a3eebdd9d
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ def run(f_in, f_out, sparse=False, debug=False):
except KeyError:
raise FASMSyntaxError(
"Segment DB %s, key %s not found from line '%s'" %
(segj['type'], db_k, l))
(segj['type'], db_k, l)) from None
if not value:
# If its binary, allow omitted value default to 1