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
6a9bd38d
Commit
6a9bd38d
authored
Sep 22, 2014
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction in activation
parent
7966db36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dream/simulation/LineGenerationJSON.py
dream/simulation/LineGenerationJSON.py
+2
-2
No files found.
dream/simulation/LineGenerationJSON.py
View file @
6a9bd38d
...
@@ -543,7 +543,7 @@ def initializeObjects():
...
@@ -543,7 +543,7 @@ def initializeObjects():
# ===========================================================================
# ===========================================================================
def
activateObjects
():
def
activateObjects
():
# XXX EventGeneratorList
# XXX EventGeneratorList
for
element
in
G
.
ObjList
+
G
.
ObjectInterruptionList
+
G
.
AllocationManagementList
:
for
element
in
G
.
ObjList
+
G
.
ObjectInterruptionList
:
G
.
env
.
process
(
element
.
run
())
G
.
env
.
process
(
element
.
run
())
# ===========================================================================
# ===========================================================================
...
@@ -551,7 +551,7 @@ def activateObjects():
...
@@ -551,7 +551,7 @@ def activateObjects():
# ===========================================================================
# ===========================================================================
def
main
(
argv
=
[],
input_data
=
None
):
def
main
(
argv
=
[],
input_data
=
None
):
argv
=
argv
or
sys
.
argv
[
1
:]
argv
=
argv
or
sys
.
argv
[
1
:]
#create an empty list to store all the objects in
#create an empty list to store all the objects in
G
.
ObjList
=
[]
G
.
ObjList
=
[]
...
...
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