summaryrefslogtreecommitdiffstats
path: root/client/ivamUtil.py
blob: 17e9801e14b0fca52825851709463225b29dc660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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()