X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Fqueue.py;h=6accba0696faa3b84134e95df6e293764fe81302;hb=7aad4c6ec0c430b8f885f8237a0b33274c641258;hp=58fdf7f3115acc306807405457aa88386cf87881;hpb=d43aaba44b2967b9c1edc4f3e722e23bb4b7a4c3;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 58fdf7f3..6accba06 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -454,7 +454,7 @@ class Upload(object): # Check the .changes is non-empty if not self.pkg.files: - self.rejects.append("%s: nothing to do (Files field is empty)." % (base_filename)) + self.rejects.append("%s: nothing to do (Files field is empty)." % (os.path.basename(self.pkg.changes_file))) return False # Changes was syntactically valid even if we'll reject