Skip to content

Commit d577fda

Browse files
author
Vladimir Kotal
committed
use path directly
1 parent 9f215c0 commit d577fda

File tree

1 file changed

+2
-2
lines changed
  • opengrok-tools/src/main/python/opengrok_tools

1 file changed

+2
-2
lines changed

opengrok-tools/src/main/python/opengrok_tools/projadm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ def main():
311311
sys.exit(FAILURE_EXITVAL)
312312
logger.debug("web application URI = {}".format(uri))
313313

314-
lock = FileLock(os.path.join(tempfile.gettempdir(),
315-
os.path.basename(sys.argv[0]) + ".lock"))
314+
lock = FileLock(path.join(tempfile.gettempdir(),
315+
path.basename(sys.argv[0]) + ".lock"))
316316
try:
317317
with lock.acquire(timeout=0):
318318
if args.add:

0 commit comments

Comments
 (0)