Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Klaus Wölfel
wendelin
Commits
4554ecd6
Commit
4554ecd6
authored
Sep 03, 2019
by
Klaus Wölfel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
neo check: do not raise if bucket of mapping_bin is none
parent
4eeb2f58
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
bt5/erp5_neo_administration/ExtensionTemplateItem/portal_components/extension.erp5.NEOAdministration.py
...tem/portal_components/extension.erp5.NEOAdministration.py
+8
-1
No files found.
bt5/erp5_neo_administration/ExtensionTemplateItem/portal_components/extension.erp5.NEOAdministration.py
View file @
4554ecd6
...
...
@@ -20,7 +20,14 @@ def DataBucketStream_getChecksumListFromNEONodeListForKey(self, \
# get directly checksum as we have access to data stream over self
data
=
self
.
getBucketByKey
(
key
)
try
:
data
=
data
[:
threshold
]
except
TypeError
as
e
:
analysis_line
=
self
.
getAggregateRelatedValue
(
portal_type
=
"Data Analysis Line"
)
if
analysis_line
.
getReference
()
==
"mapping_bin"
:
return
[]
else
:
raise
TypeError
(
"%s, %s, key: %s"
%
(
e
,
self
.
getRelativeUrl
(),
key
))
checksum
=
hashlib
.
sha256
(
data
).
hexdigest
()
checksum_list
.
append
(
checksum
)
...
...
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