OSDN Git Service

stop using trunk or dist directory in rec10 project.
[rec10/rec10-git.git] / dist / trunk / rec10 / configwriter.py
diff --git a/dist/trunk/rec10/configwriter.py b/dist/trunk/rec10/configwriter.py
deleted file mode 100755 (executable)
index aa67867..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/python\r
-# coding: UTF-8\r
-# Rec10 TS Recording Tools\r
-# Copyright (C) 2009-2011 Yukikaze\r
-import ConfigParser\r
-import os\r
-import os.path\r
-mypath = str(os.path.dirname(os.path.abspath(__file__)))\r
-confp = ConfigParser.SafeConfigParser()\r
-Conf = 'rec10.conf'\r
-confpath=os.path.join(mypath,Conf)\r
-confp.read(confpath)\r
-def getTempConfPath(string):\r
-    global confp\r
-    return confp.get('path', string)\r
-def setTempConfPath(option,value):\r
-    global confp\r
-    return confp.set('path',option,value)\r
-def setTempConfDB(option,value):\r
-    global confp\r
-    return confp.set('db',option,value)\r
-def setTempConfEnv(option,value):\r
-    global confp\r
-    return confp.set('env',option,value)\r
-def writeTempConf():\r
-    global confp\r
-    f=open(confpath,"w")\r
-    confp.write(f)\r
-    f.close\r