# HG changeset patch # User Damien Correia # Date 1544462195 -3600 # Node ID 3de12781a1681a602ed364ccb3a720fb282721a9 # Parent 18d967067bfe6635229bc29f6d4536f1ff74c00f Updated script diff -r 18d967067bfe -r 3de12781a168 src/pyams_user_guide/scripts/__init__.py --- a/src/pyams_user_guide/scripts/__init__.py Mon Dec 10 14:19:03 2018 +0100 +++ b/src/pyams_user_guide/scripts/__init__.py Mon Dec 10 18:16:35 2018 +0100 @@ -5,6 +5,7 @@ packages_pyams = [ 'pyams_alchemy', + 'pyams_apm', 'pyams_cache', 'pyams_catalog', 'pyams_content', @@ -47,5 +48,6 @@ directory = p packages_pyams_source = os.path.join(*[path_project, p, 'src', directory]) outputdir = os.path.join(output_directory, directory) - # Command line - main(shlex.split('-f -T -M --maxdepth=2 -o {} {}'.format(outputdir, packages_pyams_source))) + if os.path.isdir(packages_pyams_source): + # Command line + main(shlex.split('-f -T -M --maxdepth=2 -o {} {}'.format(outputdir, packages_pyams_source)))