summaryrefslogtreecommitdiffstats
path: root/lib/util/miscutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/miscutil.py')
-rw-r--r--lib/util/miscutil.py12
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
+