From 3e7cb571f2549aa51ed8bfb071392874e2e220b3 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 18 Apr 2013 15:06:18 +0800 Subject: fixes with usage --- lib/utils.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/utils.py b/lib/utils.py index e734ee9..b9343ad 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -23,14 +23,12 @@ class EpochError(Exception): def read_file(infile): with open(infile, 'r') as f: data = ''.join(f.readlines()) - f.close() return data def write_file(outfile, data): with open(outfile, 'w') as f: f.writelines([data]) - f.close() return -- cgit