Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
285b1d43
Commit
285b1d43
authored
Nov 26, 2018
by
Guilhem Saurel
Browse files
update: always logs
parent
8177d89a
Pipeline
#1922
passed with stages
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/management/commands/update.py
View file @
285b1d43
...
...
@@ -12,8 +12,7 @@ class Command(BaseCommand):
def
handle
(
self
,
*
args
,
**
options
):
def
log
(
message
):
if
int
(
options
[
'verbosity'
])
>
1
:
self
.
stdout
.
write
(
message
)
self
.
stdout
.
write
(
message
)
log
(
f
'updating forges'
)
for
forge
in
Forge
.
objects
.
order_by
(
'source'
):
...
...
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