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

[Git][ftp-team/dak][master] 2 commits: Fix F402: Import module from line n shadowed by loop variable



Title: GitLab

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

Commits:

2 changed files:

Changes:

  • dak/new_security_install.py
    ... ... @@ -108,8 +108,8 @@ def _do_Approve():
    108 108
     
    
    109 109
             # 1. Install accepted packages
    
    110 110
             print "Installing accepted packages into security archive"
    
    111
    -        for queue in ("embargoed",):
    
    112
    -            spawn("dak process-policy {0}".format(queue))
    
    111
    +        for queue_name in ("embargoed",):
    
    112
    +            spawn("dak process-policy {0}".format(queue_name))
    
    113 113
     
    
    114 114
         # 2. Run all the steps that are needed to publish the changed archive
    
    115 115
         print "Doing loadsa stuff in the archive, will take time, please be patient"
    

  • setup.cfg
    ... ... @@ -43,7 +43,6 @@ ignore =
    43 43
      E741,
    
    44 44
      E999,
    
    45 45
      F401,
    
    46
    - F402,
    
    47 46
      F403,
    
    48 47
      F405,
    
    49 48
      F811,
    


  • Reply to: