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

[Git][ftp-team/dak][master] process-policy: implement missing `usage` function



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • dak/process_policy.py
    ... ... @@ -533,6 +533,13 @@ def remove_unreferenced_sources(policy_queue, transaction):
    533 533
     ################################################################################
    
    534 534
     
    
    535 535
     
    
    536
    +def usage(status=0):
    
    537
    +    print("""Usage: dak process-policy QUEUE""")
    
    538
    +    sys.exit(status)
    
    539
    +
    
    540
    +################################################################################
    
    541
    +
    
    542
    +
    
    536 543
     def main():
    
    537 544
         global Options, Logger
    
    538 545
     
    


  • Reply to: