kopia lustrzana https://github.com/jupyterhub/repo2docker
Update repo2docker/buildpacks/base.py
Co-Authored-By: nuest <daniel.nuest@wwu.de>pull/457/head
rodzic
490962e08d
commit
d849664826
|
@ -295,7 +295,7 @@ class BuildPack:
|
|||
|
||||
# get paths to the article files from manifest
|
||||
files = []
|
||||
if (self.stencila_manifest_dir):
|
||||
if self.stencila_manifest_dir:
|
||||
manifest = ET.parse(os.path.join(self.stencila_manifest_dir, 'manifest.xml'))
|
||||
files = list(map(lambda x: os.path.join(self.stencila_manifest_dir, x.get('path')), manifest.findall('./documents/document')))
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue