aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/lib/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'rhodecode/lib/utils.py')
-rw-r--r--rhodecode/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py
index 1db0080c..28b8107e 100644
--- a/rhodecode/lib/utils.py
+++ b/rhodecode/lib/utils.py
@@ -472,7 +472,7 @@ def create_test_index(repo_location, full_index):
shutil.rmtree(index_location)
try:
- l = DaemonLock(file=jn(dn(dn(index_location)), 'make_index.lock'))
+ l = DaemonLock(file=jn(dn(index_location), 'make_index.lock'))
WhooshIndexingDaemon(index_location=index_location,
repo_location=repo_location)\
.run(full_index=full_index)