Author: rshortt
Date: Tue Jan 16 17:39:30 2007
New Revision: 2412
Modified:
trunk/base/src/config.py
Log:
if filename is None expanduser() fails
Modified: trunk/base/src/config.py
==============================================================================
--- trunk/base/src/config.py (original)
+++ trunk/base/src/config.py Tue Jan 16 17:39:30 2007
@@ -644,7 +644,8 @@
has changed since last write.
"""
local_encoding = get_encoding()
- filename = os.path.expanduser(filename)
+ if filename:
+ filename = os.path.expanduser(filename)
if not filename:
if not self._filename:
raise ValueError, "Filename not specified and no default
filename set."
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog