10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-02 11:25:26 +02:00

modified some scripts

This commit is contained in:
Emmanuel Giner 2018-12-28 14:59:38 +01:00 committed by Anthony Scemama
parent 6e0a411d6b
commit 55eb3a8301
2 changed files with 5 additions and 5 deletions

View File

@ -538,7 +538,7 @@ def get_binaries(path_module):
import subprocess
try:
cmd = 'grep -l "program" {0}/*.irp.f'.format(path_module.abs)
cmd = 'grep -l -e "^program " {0}/*.irp.f'.format(path_module.abs)
process = subprocess.Popen([cmd],
shell=True,
stdout=subprocess.PIPE,

View File

@ -86,10 +86,10 @@ def get_dict_child(l_root_abs=None):
else:
if module_rel not in d_ref:
d_ref[module_rel] = l_children
else:
print "Module {0} alredy defined"
print "Abort"
sys.exit(1)
#else:
# print "Module {0} alredy defined"
# print "Abort"
# sys.exit(1)
return d_ref