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

[Git][ftp-team/dak][master] BinaryCheck: correct rejection message for missing fields



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • daklib/checks.py
    ... ... @@ -421,7 +421,7 @@ class BinaryCheck(Check):
    421 421
     
    
    422 422
             for field in ('Package', 'Architecture', 'Version', 'Description', 'Section'):
    
    423 423
                 if field not in control:
    
    424
    -                raise Reject('{0}: Missing mandatory field {0}.'.format(fn, field))
    
    424
    +                raise Reject('{0}: Missing mandatory field {1}.'.format(fn, field))
    
    425 425
     
    
    426 426
             check_fields_for_valid_utf8(fn, control)
    
    427 427
     
    


  • Reply to: