Author: duncan
Date: Sun Jan 14 14:25:47 2007
New Revision: 8979
Modified:
branches/rel-1/freevo/src/util/vfs.py
Log:
[ 1635071 ] Invalid function call os.mkdirs (should be os.makedirs)
Patch Frank Naude applied
Modified: branches/rel-1/freevo/src/util/vfs.py
==============================================================================
--- branches/rel-1/freevo/src/util/vfs.py (original)
+++ branches/rel-1/freevo/src/util/vfs.py Sun Jan 14 14:25:47 2007
@@ -49,7 +49,7 @@
cache_dir = '%s/link_cache' % (config.WEBSERVER_CACHEDIR)
cache_dir_mode = S_IMODE(os.stat(config.WEBSERVER_CACHEDIR)[ST_MODE])
if not os.path.isdir(cache_dir):
- os.mkdirs(cache_dir, cache_dir_mode)
+ os.makedirs(cache_dir, cache_dir_mode)
return cache_dir
@@ -60,7 +60,7 @@
cache_dir = '%s/image_cache' % (config.WEBSERVER_CACHEDIR)
cache_dir_mode = S_IMODE(os.stat(config.WEBSERVER_CACHEDIR)[ST_MODE])
if not os.path.isdir(cache_dir):
- os.mkdirs(cache_dir, cache_dir_mode)
+ os.makedirs(cache_dir, cache_dir_mode)
return cache_dir
-------------------------------------------------------------------------
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