diff options
author | Ulas Kozat <ulas.kozat@gmail.com> | 2016-05-15 21:31:15 -0700 |
---|---|---|
committer | Ulas Kozat <ulas.kozat@gmail.com> | 2016-05-15 21:43:21 -0700 |
commit | 7893dd02c15f2a727eb50887c9ddb829fc71f556 (patch) | |
tree | 54efcdadfda729ec4301537d264f6ea4298716e9 /lib/util/miscutil.py | |
parent | 06f85217ae3d5c9b429bad94827caed0641cd120 (diff) |
Simple mapper/scheduler/partitioner functions implemented
Change-Id: I553b196943022451d8dc4984fe37b2b228c8f4cf
Signed-off-by: Ulas C. Kozat <ulas.kozat@huawei.com>
Diffstat (limited to 'lib/util/miscutil.py')
-rw-r--r-- | lib/util/miscutil.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/util/miscutil.py b/lib/util/miscutil.py new file mode 100644 index 0000000..4afa565 --- /dev/null +++ b/lib/util/miscutil.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python + +# +# Licence statement goes here +# + +def read_templatefile(temp_filename): + f = open(temp_filename, 'r') + lines = f.read().splitlines() + + return lines + |