- @classmethod
- def reject_msgs(cls, has_native_tar, has_native_tar_gz, has_debian_tar, has_debian_diff, has_orig_tar, has_orig_tar_gz, has_more_orig_tar):
- if not(has_orig_tar and has_debian_tar):
- yield "lack required files for format '3.x (quilt)'."
- if has_debian_diff or has_native_tar:
- yield "contains source files not allowed in format 3.x (quilt)"
+ requires = ('orig_tar', 'debian_tar')
+ disallowed = ('debian_diff', 'native_tar')