Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
beat
beat.web
Commits
96055f58
Commit
96055f58
authored
6 years ago
by
Samuel GAIST
Browse files
Options
Downloads
Patches
Plain Diff
[experiments][migrations] Fix print statements
parent
03a35310
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!255
1.4.x
,
!242
Py3 compatibility
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
beat/web/experiments/migrations/0005_scheduler_addons_4.py
+1
-1
1 addition, 1 deletion
beat/web/experiments/migrations/0005_scheduler_addons_4.py
beat/web/experiments/migrations/0006_block_order.py
+1
-1
1 addition, 1 deletion
beat/web/experiments/migrations/0006_block_order.py
with
2 additions
and
2 deletions
beat/web/experiments/migrations/0005_scheduler_addons_4.py
+
1
−
1
View file @
96055f58
...
...
@@ -74,7 +74,7 @@ def reset_blocks(apps, schema_editor):
if
xp
.
errors
:
message
=
"
The experiment `%s
'
isn
'
t valid (skipping
"
\
"
block update), due to the following errors:
\n
* %s
"
print
message
%
(
fullname
,
'
\n
*
'
.
join
(
xp
.
errors
))
print
(
message
%
(
fullname
,
'
\n
*
'
.
join
(
xp
.
errors
))
)
continue
# Loads the experiment execution description, creating the Block's,
...
...
This diff is collapsed.
Click to expand it.
beat/web/experiments/migrations/0006_block_order.py
+
1
−
1
View file @
96055f58
...
...
@@ -66,7 +66,7 @@ def set_block_order(apps, schema_editor):
if
xp
.
errors
:
message
=
"
The experiment `%s
'
isn
'
t valid (skipping
"
\
"
block update), due to the following errors:
\n
* %s
"
print
message
%
(
fullname
,
'
\n
*
'
.
join
(
xp
.
errors
))
print
(
message
%
(
fullname
,
'
\n
*
'
.
join
(
xp
.
errors
))
)
continue
# Goes, in order, setting block inner order
...
...
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