# HG changeset patch # User ymh # Date 1361920388 -3600 # Node ID f1e48630fc591c1fa198dc845fc7aabaac117c5e # Parent e7274a257c9db9a9cb1d2cde734828bfaf503343 correct stupid error diff -r e7274a257c9d -r f1e48630fc59 src/ldt/ldt/management/commands/reindex.py --- 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()