From: Chris Lamb Date: Mon, 24 Aug 2015 01:23:49 +0000 (+0200) Subject: dak/copy_installer.py: Include which directory doesn't exist in exception X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=674da3c3291b908f31cc9bf760112cc388862a84 dak/copy_installer.py: Include which directory doesn't exist in exception Signed-off-by: Chris Lamb --- 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)