From b450a1309cd1a4011827398c1177d9b8deb51c2b Mon Sep 17 00:00:00 2001 From: Jan Laukemann Date: Sun, 24 Sep 2017 18:03:45 +0200 Subject: [PATCH] updated for pep8 conformity --- osaca/get_instr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osaca/get_instr.py b/osaca/get_instr.py index 891c8f4..98f39bf 100755 --- a/osaca/get_instr.py +++ b/osaca/get_instr.py @@ -72,7 +72,8 @@ def set_counter_char(line): elif(numSpaces == 0 and numTabs != 0): cntChar = '\t' else: - raise NotImplementedError("Indentation of code is only supported for whitespaces and tabs.") + err_msg = 'Indentation of code is only supported for whitespaces and tabs.' + raise NotImplementedError(err_msg) def check_instr(instr):