diff options
Diffstat (limited to 'reduce.py')
-rwxr-xr-x | reduce.py | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -4,18 +4,12 @@ import os.path import sys from argparse import ArgumentParser from myconfig import MyConfig +from utils import read_file config = MyConfig() -def read_file(infile): - with open(infile, 'r') as f: - data = ''.join(f.readlines()) - f.close() - return data - - def handleError(error): sys.exit(error) |