summaryrefslogtreecommitdiffstats
path: root/client/ivamUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/ivamUtil.py')
-rw-r--r--client/ivamUtil.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/client/ivamUtil.py b/client/ivamUtil.py
new file mode 100644
index 0000000..17e9801
--- /dev/null
+++ b/client/ivamUtil.py
@@ -0,0 +1,13 @@
+
+def getContents(fn):
+ f = file(a, "r")
+ r = f.readline().strip(" \t\r\n"))
+ f.close()
+ return r
+
+
+def setContents(fn, s):
+ f = file(a, "w")
+ f.write("%s\n" % s)
+ f.close()
+