From 69bb5a9dab65617d925d97f277cf228c2a7fa9c0 Mon Sep 17 00:00:00 2001 From: Maurizio Porrato Date: Tue, 21 Jan 2020 08:42:05 +0000 Subject: [PATCH] Make pylint happy --- asm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asm.py b/asm.py index 34a2e7d..c271585 100755 --- a/asm.py +++ b/asm.py @@ -388,12 +388,12 @@ if __name__ == '__main__': for filename in sys.argv[1:]: with open(filename, 'r') as sourcefile: code = parser.parse(lexer.lex(sourcefile.read())) - for inst in code: + for inst in code: # pylint: disable=E1133 # print(sym['.addr'], inst) assemble(sym, inst) print(sym) sym['.addr'] = 0 - for inst in code: + for inst in code: # pylint: disable=E1133 a = assemble(sym, inst, 2) if a is not None: print(["%04x" % x for x in a])