Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
snakes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Franck Pommereau
2013-10-23 21:32:06 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bca499ec5810ce7e8de68c92317e1ab65d854f57
bca499ec
1 parent
8455f724
fixed pids
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
snakes/plugins/pids.py
snakes/plugins/pids.py
View file @
bca499e
...
...
@@ -277,6 +277,7 @@ def extend (module) :
class
PetriNet
(
snk
.
PetriNet
)
:
def
__init__
(
self
,
name
,
**
args
)
:
snk
.
PetriNet
.
__init__
(
self
,
name
,
**
args
)
self
.
globals
[
"newpids"
]
=
self
.
globals
[
"let"
]
self
.
nextpids
,
nextpids
=
None
,
args
.
pop
(
"nextpids"
,
"nextpids"
)
self
.
add_place
(
snk
.
Place
(
nextpids
,
[],
tNextPid
))
self
.
nextpids
=
nextpids
...
...
Please
register
or
login
to post a comment