Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
limbra
limbra
Commits
178771bc
Commit
178771bc
authored
Oct 31, 2019
by
LE GAC Renaud
Browse files
Update graph_tools.py to add a protection in query_publications.
parent
12e8cbb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
modules/graph_tools.py
modules/graph_tools.py
+1
-0
No files found.
modules/graph_tools.py
View file @
178771bc
...
...
@@ -351,6 +351,7 @@ def query_publications(db, is_publish, **kwargs):
query
=
(
qi
if
query
is
None
else
(
query
)
&
(
qi
))
query
=
(
publications
.
id
>
0
if
query
is
None
else
query
)
return
query
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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