--- 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)))