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
8e6e35df
Commit
8e6e35df
authored
Sep 26, 2014
by
Ioannis Papagiannopoulos
Committed by
Georgios Dagkakis
Oct 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
findActiveEntities correction
parent
b57c7adc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
dream/simulation/Order.py
dream/simulation/Order.py
+5
-1
No files found.
dream/simulation/Order.py
View file @
8e6e35df
...
...
@@ -87,8 +87,12 @@ class Order(Job):
# if the component is not yet created then there is no entity to find.
component
=
findObjectById
(
componentId
)
if
component
:
if
not
component
in
self
.
components
:
# if the component is not in the components list and has a currentStation add it
if
not
component
in
self
.
components
and
component
.
currentStation
:
self
.
components
.
append
(
component
)
# if the component is in the components list and has no currentStation remove it
if
component
in
self
.
components
and
not
component
.
currentStation
:
self
.
components
.
remove
(
component
)
#===========================================================================
# return the all the active child components of the order
...
...
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