From fd2d2164f4a64785eb5457f080752ffa170ea8b6 Mon Sep 17 00:00:00 2001 From: Andrew Ferrier Date: Mon, 15 Dec 2014 22:36:13 +0000 Subject: [PATCH] Fix style issues. --- email2pdf_unittest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/email2pdf_unittest b/email2pdf_unittest index e52a631..cb0417d 100755 --- a/email2pdf_unittest +++ b/email2pdf_unittest @@ -45,7 +45,7 @@ def touch(fname): def timerange(start_time, end_time): start_time = start_time.replace(microsecond=0) end_time = end_time.replace(microsecond=0) - for n in range(int ((end_time - start_time).seconds) + 1): + for n in range(int((end_time - start_time).seconds) + 1): yield start_time + timedelta(0, n) @@ -104,7 +104,7 @@ class BaseTestClasses: myInput = None else: myStdin = PIPE - myInput = input=bytes(textMessage, 'UTF-8') + myInput = bytes(textMessage, 'UTF-8') if outputDirectory: options.extend(['-d', outputDirectory])