| author | ymh <ymh.work@gmail.com> |
| Wed, 27 Feb 2013 00:13:08 +0100 | |
| changeset 1119 | f1e48630fc59 |
| parent 1118 | e7274a257c9d |
| child 1120 | d3a125e619d9 |
--- a/src/ldt/ldt/management/commands/reindex.py Wed Feb 27 00:12:24 2013 +0100 +++ b/src/ldt/ldt/management/commands/reindex.py Wed Feb 27 00:13:08 2013 +0100 @@ -36,7 +36,7 @@ contentList = Content.objects.all() count = contentList.count() - if not no_content; + if not no_content: indexer = ContentIndexer(contentList, callback=(lambda i,o: show_progress(i+1, count, o.title, 50))) indexer.index_all()