import repository from arizona
[raven.git] / publish / gec7demo / phonehome / gecdemo
1 #!/usr/bin/python
2
3 import os
4
5 def getVersion():
6     if not os.path.exists("/etc/gecdemoversion"):
7         return "0.0-notexist"
8     else:
9         return open("/etc/gecdemoversion", "r").read()
10
11 def main():
12     print "[gecdemo]"
13     print "version =", getVersion()
14
15 if __name__=="__main__":
16    main()