[dak/master] dak/copy_installer.py: Include which directory doesn't exist in exception
Signed-off-by: Chris Lamb <lamby@debian.org>
---
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 c70b048..2e8a048 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.1.4
Reply to: