Author: dmeyer
Date: Tue Oct 18 17:09:33 2005
New Revision: 7744
Modified:
trunk/freevo-ui/src/sysconfig.py
Log:
fix overwriting of conf
Modified: trunk/freevo-ui/src/sysconfig.py
==============================================================================
--- trunk/freevo-ui/src/sysconfig.py (original)
+++ trunk/freevo-ui/src/sysconfig.py Tue Oct 18 17:09:33 2005
@@ -64,9 +64,9 @@
# read the config file, if no file is found, the default values
# are used.
for dirname in conf.cfgfilepath:
- conf = os.path.join(dirname, 'freevo.conf')
- if os.path.isfile(conf):
- c = open(conf)
+ conffile = os.path.join(dirname, 'freevo.conf')
+ if os.path.isfile(conffile):
+ c = open(conffile)
for line in c.readlines():
if line.startswith('#'):
continue
@@ -80,7 +80,7 @@
CONF.__dict__[name] = val
c.close()
- CONFIGFILE = conf
+ CONFIGFILE = conffile
break
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog