Skip to content

Commit ea52985

Browse files
author
Vladimir Kotal
committed
fix namespace problem
1 parent 4de8988 commit ea52985

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

tools/src/main/python/opengrok_tools/sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
print("Need Python 3, you are running {}".format(major_version))
5353
sys.exit(1)
5454

55-
__version__ = "1.1"
55+
__version__ = "1.2"
5656

5757

5858
def worker(base):
@@ -255,7 +255,7 @@ def main():
255255

256256
logger.debug("directories to process: {}".format(dirs_to_process))
257257

258-
if len(args.project) == 1:
258+
if args.project and len(args.project) == 1:
259259
lockfile_name = args.project[0]
260260
else:
261261
lockfile_name = os.path.basename(sys.argv[0])

0 commit comments

Comments
 (0)