Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pony
tshistory_supervision
Commits
49aa45863584
Commit
08e3a857
authored
Aug 19, 2019
by
Aurélien Campéas
Browse files
insert: bail out if not diff on first insert
parent
ad0bb80da365
Changes
1
Hide whitespace changes
Inline
Side-by-side
tshistory_supervision/tsio.py
View file @
49aa4586
...
...
@@ -84,6 +84,8 @@ class timeseries(basets):
metadata
=
metadata
,
_insertion_date
=
_insertion_date
)
if
diff
is
None
:
return
# the super call create the initial meta, let's complete it
meta
=
self
.
metadata
(
cn
,
name
)
meta
[
'supervision_status'
]
=
'handcrafted'
if
manual
else
'unsupervised'
...
...
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