Skip to content
Snippets Groups Projects
Commit 597d8fdf authored by Albert Feghaly's avatar Albert Feghaly
Browse files

Update Client.py (remove print statement)

parent 8aecbac6
No related branches found
No related tags found
1 merge request!23Resolve "Print warning if token-containing file is readable to someone other than user"
......@@ -40,7 +40,6 @@ class Client:
try:
self.token = open(token_file, 'r').read().strip()
if self.warnings:
print(int(oct(os.stat(token_file).st_mode)[-3:]))
if int(oct(os.stat(token_file).st_mode)[-3:][1:]):
sys.stderr.write(
'WARNING: PAT file permissions are ' +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment