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

[Git][ftp-team/dak][master] new_security_install: fix ACCEPT file name for binNMUs



Title: GitLab

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

Commits:

1 changed file:

Changes:

  • dak/new_security_install.py
    ... ... @@ -175,7 +175,9 @@ def main():
    175 175
             # strip epoch from version
    
    176 176
             version=dbchange.version
    
    177 177
             version=version[(version.find(':')+1):]
    
    178
    -        acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), dbchange.source, version)
    
    178
    +        # strip possible version from source (binNMUs)
    
    179
    +        source = dbchange.source.split(None, 1)[0]
    
    180
    +        acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), source, version)
    
    179 181
             acceptfiles[acceptfilename]=1
    
    180 182
     
    
    181 183
         print "Would create %s now and then go on to accept this package, if you allow me to." % (acceptfiles.keys())
    


  • Reply to: