From fd457c8da7edfeb309999bd1a316f632bf130951 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 11 Aug 2012 19:40:11 +0200 Subject: [PATCH] daklib/archive.py: also ignore files from .changes that do not exist --- daklib/archive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daklib/archive.py b/daklib/archive.py index 1887b784..3eb654a2 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -625,6 +625,8 @@ class ArchiveUpload(object): for f in self.changes.files.itervalues(): src = os.path.join(self.original_directory, f.filename) dst = os.path.join(self.directory, f.filename) + if not os.path.exists(src): + continue fs.copy(src, dst) source = self.changes.source -- 2.39.5