+ # If the .changes file says it has source, it must have source.
+ if changes["architecture"].has_key("source"):
+ has_source = 0;
+ for file in file_keys:
+ if files[file]["type"] == "dsc":
+ has_source = 1;
+ if not has_source:
+ reject("no source found and Architecture line in changes mention source.");
+