From ee09d35e3cc6be60f4fa424191ef6ef79d566ce3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 17 Jun 2013 14:42:00 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- python3/sha3sum.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'python3/sha3sum.py') diff --git a/python3/sha3sum.py b/python3/sha3sum.py index 4063443..eba5ecd 100755 --- a/python3/sha3sum.py +++ b/python3/sha3sum.py @@ -883,13 +883,10 @@ along with this program. If not, see . printerr(cmd + ': sorry, I will only do at least one squeeze iteration!\n') sys.exit(3) stdin = None + fail = False for filename in files: - if (filename is None) and (stdin is not None): - print(stdin) - continue rc = '' fn = '/dev/stdin' if filename is None else filename - fail = False with open(fn, 'rb') as file: try: if (filename is not None) or (stdin is None): -- cgit v1.2.3-70-g09d2