Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
430be61
)
bug fix when getting a product install in base when the product has no dependency
author
Serge Rehbinder
<serge.rehbinder@cea.fr>
Wed, 18 Jan 2017 13:47:10 +0000
(14:47 +0100)
committer
Serge Rehbinder
<serge.rehbinder@cea.fr>
Wed, 18 Jan 2017 13:47:10 +0000
(14:47 +0100)
src/product.py
patch
|
blob
|
history
diff --git
a/src/product.py
b/src/product.py
index a291ed972d7714532932f31fb86fa4cad8815bd2..08c42043f5adc6f7e5732822c0b674555a325ea3 100644
(file)
--- a/
src/product.py
+++ b/
src/product.py
@@
-415,7
+415,10
@@
def check_config_exists(config, prod_dir, prod_info):
# If there is no dependency, it is the right path
if len(prod_info.depend)==0:
- return True, os.path.join(prod_dir, dir_or_file)
+ compile_cfg = src.pyconf.Config(config_file)
+ if len(compile_cfg) == 0:
+ return True, os.path.join(prod_dir, dir_or_file)
+ continue
# check if there is the config described in the file corresponds the
# dependencies of the product