diff options
author | Kali Kaneko <kali@leap.se> | 2015-01-23 14:54:08 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-01-23 15:36:08 -0400 |
commit | 9c527fe9aa6ceaa7ed380a31ac4e1e4bfdc566dd (patch) | |
tree | 107d3676ac7541599391566e3985688eb65b7c96 /common/setup.py | |
parent | ef0d008b53ac214dc77fe572f2cc5d18efbd1b35 (diff) |
Bail out ddocs installation if the path doesn't exist. Fix: #66710.6.4
Conflicts:
common/MANIFEST.in
Diffstat (limited to 'common/setup.py')
-rw-r--r-- | common/setup.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/setup.py b/common/setup.py index 6ee166ef..365006b2 100644 --- a/common/setup.py +++ b/common/setup.py @@ -155,6 +155,11 @@ def build_ddocs_py(basedir=None, with_src=True): dest_prefix = join(basedir, *dest_common_path) ddocs_prefix = join(prefix, 'ddocs') + + if not isdir(ddocs_prefix): + print "No ddocs/ folder, bailing out..." + return + ddocs = {} # design docs are represented by subdirectories of `ddocs_prefix` |