Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Dominic Meiser
website
Commits
62d9d655
Unverified
Commit
62d9d655
authored
5 years ago
by
Roman Sebastian Karwacik
Browse files
Options
Downloads
Patches
Plain Diff
Format strings not supported in 3.5.3
parent
f42bf61d
Loading
Loading
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
l2pauth.py
+1
-1
1 addition, 1 deletion
l2pauth.py
with
1 addition
and
1 deletion
l2pauth.py
+
1
−
1
View file @
62d9d655
...
...
@@ -72,7 +72,7 @@ def finish_oauth():
for
course
in
data
[
'
Data
'
]:
session
[
'
moodle_courses
'
].
append
(
str
(
course
[
'
id
'
]))
else
:
notify_admins
(
'
endpoint_exception
'
,
traceback
=
f
"
finish_oauth failed while getting moodle courses, data=
{
str
(
data
)
}
"
)
notify_admins
(
'
endpoint_exception
'
,
traceback
=
"
finish_oauth failed while getting moodle courses, data={
}
"
.
format
(
str
(
data
)
)
)
raise
del
session
[
'
oauthscope
'
]
oauthget
(
'
token
'
,
refresh_token
=
token
[
'
refresh_token
'
],
grant_type
=
'
invalidate
'
)
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