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

[Git][ftp-team/dak][master] 2 commits: Log source and version when source not found



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • daklib/archive.py
    ... ... @@ -165,7 +165,8 @@ class ArchiveTransaction(object):
    165 165
                         .filter(Suite.suite_id == source_suites.c.id)
    
    166 166
                 source = source_query.first()
    
    167 167
                 if source is None:
    
    168
    -                raise ArchiveException('{0}: trying to install to {1}, but could not find source'.format(binary.hashed_file.filename, suite.suite_name))
    
    168
    +                raise ArchiveException('{0}: trying to install to {1}, but could not find source ({2} {3})'.
    
    169
    +                    format(binary.hashed_file.filename, suite.suite_name, source_name, source_version))
    
    169 170
                 self.copy_source(source, suite, source.poolfile.component)
    
    170 171
     
    
    171 172
             db_file = self._install_file(directory, binary.hashed_file, suite.archive, component, source_name)
    


  • Reply to: