Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyiricdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioinfo_iric
pyiricdata
Commits
aeb69437
Commit
aeb69437
authored
4 years ago
by
Geneviève Boucher
Browse files
Options
Downloads
Patches
Plain Diff
Fixing typo
parent
0f2273d2
Branches
master
No related tags found
1 merge request
!18
Resolve "Modify the command line to use the personal authentication token"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyiricdata/Client.py
+2
-2
2 additions, 2 deletions
pyiricdata/Client.py
with
2 additions
and
2 deletions
pyiricdata/Client.py
+
2
−
2
View file @
aeb69437
...
...
@@ -32,7 +32,7 @@ class Client:
url
=
'
https://thepond.bioinfo.iric.ca
'
):
self
.
url
=
url
self
.
user
=
username
self
.
pwd
=
password
self
.
pwd
=
password
self
.
token
=
token
if
self
.
token
is
None
and
self
.
pwd
is
None
:
...
...
@@ -42,7 +42,7 @@ class Client:
if
self
.
token
is
not
None
:
if
self
.
pwd
is
not
None
:
sys
.
stderr
.
write
(
'
WARNING: Amiguous authentification, ignoring
'
+
sys
.
stderr
.
write
(
'
WARNING: Am
b
iguous authentification, ignoring
'
+
'
password in favor of PAT
\n
'
)
self
.
token
=
self
.
token
.
strip
()
session
.
headers
.
update
({
'
Iric-Auth-Token
'
:
F
'
{
self
.
token
}
'
})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment