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-02-04 17:58:55 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
19d6e1be879cfe1b5e25239387a3c11c272a2126
19d6e1be
1 parent
e347d1ec
fixed bug in nets.let (caused by Python)
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
debian/DISTRIB
snakes/nets.py
debian/DISTRIB
View file @
19d6e1b
lucid 10.04 LTS
hardy 8.04 LTS
natty 11.04
oneiric 11.10
precise 12.04 LTS
...
...
snakes/nets.py
View file @
19d6e1b
...
...
@@ -792,7 +792,7 @@ class Expression (ArcAnnotation) :
@param expr: a Python expression suitable for C{eval}
@type expr: C{str}
"""
self
.
_expr
=
compile
(
expr
,
""
,
"eval"
)
self
.
_expr
=
compile
(
expr
,
"
<string>
"
,
"eval"
)
self
.
_str
=
expr
.
strip
()
self
.
_true
=
(
expr
.
strip
()
==
"True"
)
self
.
globals
=
Evaluator
()
...
...
Please
register
or
login
to post a comment