Skip to content

Commit efd38f6

Browse files
Vladimir Kotalahornace
authored andcommitted
use the variable also for logging
1 parent cec5eb3 commit efd38f6

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/mirror.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ def main():
138138

139139
nomirror = os.environ.get(OPENGROK_NO_MIRROR_ENV)
140140
if nomirror and len(nomirror) > 0:
141-
logger.debug("skipping mirror based on the OPENGROK_NO_MIRROR " +
142-
"environment variable")
141+
logger.debug("skipping mirror based on the {} " +
142+
"environment variable".format(OPENGROK_NO_MIRROR_ENV))
143143
return SUCCESS_EXITVAL
144144

145145
if len(args.project) > 0 and args.all:

0 commit comments

Comments
 (0)