We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fdeca4 commit 683e5afCopy full SHA for 683e5af
tools/dorelease.py
@@ -54,7 +54,6 @@
54
from string import split
55
56
_files = []
57
-debug = False
58
logger = logging.getLogger("release")
59
60
class MyError(Exception):
@@ -197,13 +196,12 @@ def main():
197
196
else:
198
user = arguments.user[0]
199
200
- if arguments.debug:
+ if arguments.debug or os.environ["OPENGROK_RELEASE_DEBUG"]:
201
logging.basicConfig(
202
level=logging.DEBUG,
203
format="%(asctime)s [%(levelname)-7s] [line %(lineno)d] %(name)s: %(message)s",
204
stream=sys.stderr)
205
logger.setLevel(logging.DEBUG)
206
- debug = True
207
208
# There is exactly 1 item in the list.
209
# TODO: there should be better way how to achieve this.
0 commit comments