git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Needed to change the semantics of SetSlice(), which previously would
[myplc.git]
/
db-config
diff --git
a/db-config
b/db-config
index
21cd3fd
..
8333881
100755
(executable)
--- a/
db-config
+++ b/
db-config
@@
-98,6
+98,8
@@
def SetSlice(slice, tags):
if slice['slice_tag_ids']:
# Delete unknown attributes
for slice_tag in GetSliceTags(slice['slice_tag_ids']):
if slice['slice_tag_ids']:
# Delete unknown attributes
for slice_tag in GetSliceTags(slice['slice_tag_ids']):
+ # ignore sliver tags, as those are custom/run-time values
+ if slice_tag['node_id'] <> None: continue
if (slice_tag['tagname'], slice_tag['value']) not in tags:
DeleteSliceTag(slice_tag['slice_tag_id'])
else:
if (slice_tag['tagname'], slice_tag['value']) not in tags:
DeleteSliceTag(slice_tag['slice_tag_id'])
else: