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

[Git][ftp-team/dak][master] 2 commits: Accept udeb into non-main debian-installer sections



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • daklib/queue.py
    ... ... @@ -68,9 +68,9 @@ def check_valid(overrides, session):
    68 68
                 o['valid'] = False
    
    69 69
             if o['type'] not in ('dsc', 'deb', 'udeb'):
    
    70 70
                 raise Exception('Unknown override type {0}'.format(o['type']))
    
    71
    -        if o['type'] == 'udeb' and o['section'] != 'debian-installer':
    
    71
    +        if o['type'] == 'udeb' and o['section'].split('/', 1)[-1] != 'debian-installer':
    
    72 72
                 o['valid'] = False
    
    73
    -        if o['section'] == 'debian-installer' and o['type'] not in ('dsc', 'udeb'):
    
    73
    +        if o['section'].split('/', 1)[-1] == 'debian-installer' and o['type'] not in ('dsc', 'udeb'):
    
    74 74
                 o['valid'] = False
    
    75 75
             all_valid = all_valid and o['valid']
    
    76 76
         return all_valid
    


  • Reply to: