##// END OF EJS Templates
Fix str error in path again
kevin1kevin1k -
Show More
@@ -65,7 +65,7 b' def check_package_data(package_data):'
65 for d in data:
65 for d in data:
66 path = pkg_root / d
66 path = pkg_root / d
67 if "*" in str(path):
67 if "*" in str(path):
68 assert len(glob(path)) > 0, "No files match pattern %s" % path
68 assert len(glob(str(path))) > 0, "No files match pattern %s" % path
69 else:
69 else:
70 assert path.exists(), f"Missing package data: {path}"
70 assert path.exists(), f"Missing package data: {path}"
71
71
General Comments 0
You need to be logged in to leave comments. Login now