Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5
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
0
Merge Requests
0
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
Ayush Tiwari
erp5
Commits
71da67c2
Commit
71da67c2
authored
Dec 08, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Cleanup syntax error in install function
parent
29c0d886
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
product/ERP5/Document/BusinessCommit.py
product/ERP5/Document/BusinessCommit.py
+1
-1
product/ERP5/Document/BusinessSnapshot.py
product/ERP5/Document/BusinessSnapshot.py
+1
-3
No files found.
product/ERP5/Document/BusinessCommit.py
View file @
71da67c2
...
...
@@ -138,7 +138,7 @@ class BusinessCommit(Folder):
# Build the snapshot
snapshot
.
buildSnapshot
()
for
item
in
snapshot
.
item_
path_
list
:
for
item
in
snapshot
.
item_list
:
item
.
install
(
self
)
def
getPathList
(
self
):
...
...
product/ERP5/Document/BusinessSnapshot.py
View file @
71da67c2
...
...
@@ -138,7 +138,7 @@ class BusinessSnapshot(Folder):
# Get the snapshot list except the current snapshot
snapshot_list
=
[
l
for
l
commit_tool
.
objectValues
(
portal_type
=
'Business Snapshot'
)
in
commit_tool
.
objectValues
(
portal_type
=
'Business Snapshot'
)
if
l
!=
self
]
if
snapshot_list
:
...
...
@@ -178,8 +178,6 @@ class BusinessSnapshot(Folder):
new_item_list
.
extend
(
last_snapshot
.
getItemList
())
new_item_path_list
.
extend
(
last_snapshot
.
getItemPathList
())
# Get next commit list upto the commit to be installed
portal_commits
=
self
.
aq_parent
successor_commit_list
=
[]
# Get next predecessor commit for this snapshot using the equivalent commit
...
...
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