BTW, current kaa needs python 2.5, so there is no need for an internal
version of iglob. See attachment
a.
Index: src/disc/dvd.py
===================================================================
--- src/disc/dvd.py (revisione 4046)
+++ src/disc/dvd.py (copia locale)
@@ -158,14 +158,8 @@
def parseDVDdir(self, dirname):
- def iglob(path, ifile):
- # Case insensitive glob to find video_ts dir/file. Python 2.5 has
- # glob.iglob but this doesn't exist in 2.4.
- file_glob = ''.join([ '[%s%s]' % (c, c.upper()) for c in ifile ])
- return glob.glob(os.path.join(path, file_glob))
-
- if True not in [ os.path.isdir(x) for x in iglob(dirname, 'video_ts') ] + \
- [ os.path.isfile(x) for x in iglob(dirname, 'video_ts.vob') ]:
+ if True not in [ os.path.isdir(x) for x in glob.iglob(dirname, 'video_ts') ] + \
+ [ os.path.isfile(x) for x in glob.iglob(dirname, 'video_ts.vob') ]:
raise core.ParseError()
# OK, try libdvdread
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel