[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] 2 commits: process-upload: catch InvalidChangesException



Title: GitLab

Joerg Jaspert pushed to branch master at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • dak/process_upload.py
    ... ... @@ -498,6 +498,9 @@ def process_changes(changes_filenames):
    498 498
             try:
    
    499 499
                 directory, filename = os.path.split(fn)
    
    500 500
                 c = daklib.upload.Changes(directory, filename, keyring_files)
    
    501
    +            # Force parsing the .changes so we can catch InvalidChangesException now
    
    502
    +            #pylint: disable=pointless-statement
    
    503
    +            c.byhand_files
    
    501 504
                 changes.append([directory, c])
    
    502 505
             except Exception as e:
    
    503 506
                 Logger.log([filename, "Error while loading changes: {0}".format(e)])
    


  • Reply to: