Mercurial > moin > 1.9
changeset 982:541271bb8a56
fix for rebuilding the index again, get the full path for each file
author | Franz Pletz <fpletz AT franz-pletz DOT org> |
---|---|
date | Mon, 17 Jul 2006 13:22:40 +0200 |
parents | dbb3bf01ae19 |
children | ef39854bac93 3172214eac96 |
files | MoinMoin/search/Xapian.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/search/Xapian.py Mon Jul 17 13:12:02 2006 +0200 +++ b/MoinMoin/search/Xapian.py Mon Jul 17 13:22:40 2006 +0200 @@ -442,7 +442,7 @@ # rebuilding the DB: delete it and add everything if mode == 'rebuild': for f in os.listdir(self.dir): - os.unlink(f) + os.unlink(os.path.join(self.dir, f)) mode = 'add' try: