https://bugzilla.novell.com/show_bug.cgi?id=435160
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=435160#c22
--- Comment #22 from Michael Schröder 2008-10-16 08:55:48 MDT ---
Regarding #19: come on, you can do better.
As the basename is known, you can do this:
repo.search( basename, satsolver.SEARCH_STRING, None, 'solvable:filelist' )
Note the missing SEARCH_FILES, which means that we're just matching basenames.
If there's a hit, the iterator value will be the complete filename and you can
do your regexp match.
This should also speed up things a lot, as the costly regexp match is only done
when the basename matches.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.