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

[Git][ftp-team/dak][master] Remove pool/ prefix



Title: GitLab

Mark Hymers pushed to branch master at Debian FTP Team / dak

Commits:

  • af96878d
    by Mark Hymers at 2023-12-10T13:52:38+00:00
    Remove pool/ prefix
    

1 changed file:

Changes:

  • dak/find_files.py
    ... ... @@ -91,11 +91,12 @@ def main():
    91 91
         if pkg is None:
    
    92 92
             utils.fubar(f"Source {source} at version {version} does not exist")
    
    93 93
     
    
    94
    -    pool_path = Path("pool")
    
    95 94
         filenames = []
    
    96 95
     
    
    96
    +    # Don't include pool otherwise we have to work out components (which may vary
    
    97
    +    # by archive).  The partial path is enough for rsync to match it
    
    97 98
         for binary in pkg.binaries:
    
    98
    -        filenames.append(str(pool_path / binary.poolfile.filename))
    
    99
    +        filenames.append(binary.poolfile.filename)
    
    99 100
     
    
    100 101
         for filename in sorted(filenames):
    
    101 102
             print(filename)
    


  • Reply to: