diff --git a/repo2docker/buildpacks/base.py b/repo2docker/buildpacks/base.py index 10c7f3ea..128056e4 100644 --- a/repo2docker/buildpacks/base.py +++ b/repo2docker/buildpacks/base.py @@ -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: