Skip to content

Commit 36c4842

Browse files
y-pwesm
y-p
authored andcommitted
BUG: setup.py error message lacks cache_dir argument
1 parent b3b6076 commit 36c4842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def __init__(self,*args,**kwds):
341341
cache_dir=kwds.pop("cache_dir",BUILD_CACHE_DIR)
342342
self.cache_dir=cache_dir
343343
if not os.path.isdir(cache_dir):
344-
raise Exception("Error: path to Cache directory [%s] is not a dir");
344+
raise Exception("Error: path to Cache directory (%s) is not a dir" % cache_dir);
345345

346346
def _copy_from_cache(self,hash,target):
347347
src=os.path.join(self.cache_dir,hash)

0 commit comments

Comments
 (0)