Commit e78442f1 by Marko Vendelin Committed by Sébastien Eustace

fix exception message in package_include (#257)

* fix exception message in package_include

* reformat package_include.py
parent b9bac10a
...@@ -36,7 +36,9 @@ class PackageInclude(Include): ...@@ -36,7 +36,9 @@ class PackageInclude(Include):
def check_elements(self): # type: () -> PackageInclude def check_elements(self): # type: () -> PackageInclude
if not self._elements: if not self._elements:
raise ValueError("{} does not contain any element".format(base / include)) raise ValueError(
"{} does not contain any element".format(self._base / self._include)
)
if len(self._elements) > 1: if len(self._elements) > 1:
# Probably glob # Probably glob
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment