dabo Commit
Revision 4630
Date: 2008-11-02 05:31:59 -0800 (Sun, 02 Nov 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4630
Changed:
U trunk/dabo/lib/manifest.py
Log:
Removed syntax that was new to Python 2.5.
Diff:
Modified: trunk/dabo/lib/manifest.py
===================================================================
--- trunk/dabo/lib/manifest.py 2008-10-31 18:58:46 UTC (rev 4629)
+++ trunk/dabo/lib/manifest.py 2008-11-02 13:31:59 UTC (rev 4630)
@@ -47,7 +47,7 @@
pathGen = os.walk(pth)
for dirname, subdirs, fnames in pathGen:
# Remove the base path and any leading separator
- reldir = dirname.partition(pth)[-1].split(os.path.sep,
1)[-1]
+ reldir = dirname.split(pth)[-1].split(os.path.sep,
1)[-1]
for fn in fnames:
ext = os.path.splitext(fn)[1].split(".")[-1]
if ext in okTypes:
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]