~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to sru_autosubscribe.py

  • Committer: Steve Langasek
  • Date: 2023-06-01 16:01:45 UTC
  • Revision ID: steve.langasek@canonical.com-20230601160145-g6plsb7z39dj23ng
Fix sru-autosubscribe to not crash on uploads without .changes files

No changes file -> no bug links -> nothing to do, so skip

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
            continue
263
263
        if not upload.changes_file_url:
264
264
            logging.debug(f"Could not find changes file for {upload}")
 
265
            continue
265
266
        bug_numbers = find_changes_bugs(upload.changes_file_url)
266
267
        fingerprint = find_dsc_signing_fingerprint(dsc_url)
267
268
        try: