Skip to content
Snippets Groups Projects
Commit 9c527fe9 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

Bail out ddocs installation if the path doesn't exist. Fix: #6671

Conflicts:
	common/MANIFEST.in
parent ef0d008b
Branches
Tags 0.6.4
No related merge requests found
......@@ -2,3 +2,7 @@ include pkg/*
include versioneer.py
include LICENSE
include CHANGELOG
# What do we want the ddocs folder in the source package for? -- kali
# it should be enough with having the compiled stuff.
recursive-include src/leap/soledad/common/ddocs *
o Bail out if cdocs/ dir does not exist. Closes: #6671
......@@ -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`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment