Author: tack
Date: Sat Mar 25 19:43:35 2006
New Revision: 1349
Modified:
trunk/base/src/db.py
Log:
Finish a comment I started :)
Modified: trunk/base/src/db.py
==============================================================================
--- trunk/base/src/db.py (original)
+++ trunk/base/src/db.py Sat Mar 25 19:43:35 2006
@@ -926,7 +926,7 @@
# FIXME: don't hardcode path length; is there a PATH_MAX in python?
if len(text) < 255 and re.search("\.\w{2,5}$", text):
- # Treat
+ # Treat input as filename since it looks like it ends with an
extension.
dirname, filename = os.path.split(text)
fname_noext, ext = os.path.splitext(filename)
# Remove the first 2 levels (like /home/user/) and then take
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog