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
5
Merge Requests
5
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
nexedi
wendelin
Commits
c4ee7abf
Commit
c4ee7abf
authored
May 18, 2018
by
Ivan Tyagov
Committed by
Klaus Wölfel
May 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use latest API.
parent
a8774b21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_neo_administration/ExtensionTemplateItem/portal_components/extension.erp5.NEOAdministration.py
...tem/portal_components/extension.erp5.NEOAdministration.py
+2
-2
No files found.
bt5/erp5_neo_administration/ExtensionTemplateItem/portal_components/extension.erp5.NEOAdministration.py
View file @
c4ee7abf
...
...
@@ -19,7 +19,7 @@ def DataBucketStream_getChecksumListFromNEONodeListForKey(self, \
checksum_list
=
[]
# get directly checksum as we have access to data stream over self
data
=
self
.
getBucket
(
key
)
data
=
self
.
getBucket
ByKey
(
key
)
data
=
data
[:
threshold
]
checksum
=
hashlib
.
sha256
(
data
).
hexdigest
()
checksum_list
.
append
(
checksum
)
...
...
@@ -38,7 +38,7 @@ def DataBucketStream_getChecksumListFromNEONodeListForKey(self, \
root
=
conn
.
root
()
data_stream_id
=
self
.
getId
()
data_stream
=
root
[
'Application'
].
erp5
.
data_stream_module
[
data_stream_id
]
data
=
data_stream
.
getBucket
(
key
)
data
=
data_stream
.
getBucket
ByKey
(
key
)
data
=
data
[:
threshold
]
conn
.
close
()
db
.
close
()
...
...
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