Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
e436b3ea
Commit
e436b3ea
authored
May 27, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BatchReassemble, if no router is initiated the pendingEntities list is not populated - reassemble()
parent
60abe42d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dream/simulation/BatchReassembly.py
dream/simulation/BatchReassembly.py
+3
-2
No files found.
dream/simulation/BatchReassembly.py
View file @
e436b3ea
...
@@ -155,8 +155,9 @@ class BatchReassembly(CoreObject):
...
@@ -155,8 +155,9 @@ class BatchReassembly(CoreObject):
# if the activeEntity is in the pendingEntities list then place the subBatches there
# if the activeEntity is in the pendingEntities list then place the subBatches there
if
activeObjectQueue
[
0
]
in
G
.
pendingEntities
:
if
activeObjectQueue
[
0
]
in
G
.
pendingEntities
:
G
.
pendingEntities
.
append
(
batchToBeReassembled
)
G
.
pendingEntities
.
append
(
batchToBeReassembled
)
for
entity
in
activeObjectQueue
:
if
G
.
Router
:
G
.
pendingEntities
.
remove
(
entity
)
for
entity
in
activeObjectQueue
:
G
.
pendingEntities
.
remove
(
entity
)
del
activeObjectQueue
[:]
del
activeObjectQueue
[:]
batchToBeReassembled
.
numberOfSubBatches
=
1
batchToBeReassembled
.
numberOfSubBatches
=
1
...
...
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