diff --git a/docker/centos5-builder/files/git_pass.py b/docker/centos5-builder/files/git_pass.py index 9246038..e766ca3 100755 --- a/docker/centos5-builder/files/git_pass.py +++ b/docker/centos5-builder/files/git_pass.py @@ -1,8 +1,7 @@ #!/usr/bin/env python3 -from sys import argv from os import environ - +from sys import argv if "username" in argv[1].lower(): print(environ["GIT_USERNAME"]) diff --git a/docker/centos7-builder/files/git_pass.py b/docker/centos7-builder/files/git_pass.py index 9246038..e766ca3 100755 --- a/docker/centos7-builder/files/git_pass.py +++ b/docker/centos7-builder/files/git_pass.py @@ -1,8 +1,7 @@ #!/usr/bin/env python3 -from sys import argv from os import environ - +from sys import argv if "username" in argv[1].lower(): print(environ["GIT_USERNAME"]) diff --git a/scripts/github-runner-service.py b/scripts/github-runner-service.py index 2a07385..7a9521c 100755 --- a/scripts/github-runner-service.py +++ b/scripts/github-runner-service.py @@ -1,12 +1,11 @@ #!/usr/bin/env python3.8 -import subprocess -import re +import argparse +import logging import os +import re +import subprocess import sys -import logging -import argparse - TOP_DIR = "/export/jgonzale/github-workflows" EXECUTABLE = "./bin/runsvc.sh"