Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
22db4462
Commit
22db4462
authored
Sep 28, 2020
by
Markus Scheidgen
Browse files
Small fix.
parent
d27718f3
Pipeline
#83186
passed with stages
in 21 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/app/api/common.py
View file @
22db4462
...
...
@@ -410,7 +410,7 @@ def query_api_repo_url(query):
if
to_delete
in
query
:
del
(
query
[
to_delete
])
for
key
,
value
in
dict
(
order_by
=
[
'upload_time'
],
order
=
[
'-1'
],
domain
=
[
'dft'
],
owner
=
[
'public'
]).
items
():
if
key
in
query
and
query
[
key
]
==
value
or
query
[
key
]
==
value
:
if
key
in
query
and
query
[
key
]
==
value
:
del
(
query
[
key
])
return
_query_api_url
(
'repo'
,
query
=
query
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment