Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
b4df040e
Commit
b4df040e
authored
Nov 06, 2019
by
Maxime Perrotin
Browse files
More Python3 fixes in Ada backend
parent
a4add31c
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/AdaGenerator.py
View file @
b4df040e
...
...
@@ -1184,7 +1184,7 @@ package {process_name} is'''.format(generic=generic_spec,
script
=
'{}_simu.sh'
.
format
(
process_name
.
lower
())
with
open
(
script
,
'w'
)
as
bash_script
:
bash_script
.
write
(
simu_script
)
with
open
(
"{}_lib.gpr"
.
format
(
process_name
.
lower
()),
'w
b
'
)
as
gprlib
:
with
open
(
"{}_lib.gpr"
.
format
(
process_name
.
lower
()),
'w'
)
as
gprlib
:
gprlib
.
write
(
lib_gpr
)
os
.
chmod
(
script
,
os
.
stat
(
script
).
st_mode
|
stat
.
S_IXUSR
)
...
...
Write
Preview
Supports
Markdown
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