Skip to content
Snippets Groups Projects
Commit 3b2f8bed authored by Geneviève Boucher's avatar Geneviève Boucher
Browse files

Changed Warning message and return for non existent labs

parent 3d07ec43
Branches master
No related tags found
1 merge request!17Resolve "Allow usage of the Personal Authentication Token (PAT)"
......@@ -364,8 +364,8 @@ class Client:
""" Check if lab is available """
def _check_lab_exists(self, lab):
if self.labs is None:
sys.stderr.write('WARNING: Not able to check lab existence')
lab = None
sys.stderr.write("WARNING: Not able to check lab existence when using personal authentication token")
return None
lab = str(lab) if lab is not None else lab
if lab != '' and lab is not None:
......
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