From 674da3c3291b908f31cc9bf760112cc388862a84 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Mon, 24 Aug 2015 03:23:49 +0200 Subject: [PATCH] dak/copy_installer.py: Include which directory doesn't exist in exception Signed-off-by: Chris Lamb --- dak/copy_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/copy_installer.py b/dak/copy_installer.py index c70b048d..2e8a0487 100755 --- a/dak/copy_installer.py +++ b/dak/copy_installer.py @@ -92,7 +92,7 @@ class InstallerCopier: def check_dir(self, dir, message): if not os.path.isdir(dir): - raise IOError(message) + raise IOError("%s (%s)" % (message, dir)) def check_architecture(self, arch_dir): architecture = re.sub('.*?/installer-(.*?)/.*', r'\1', arch_dir) -- 2.39.2