1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#!/usr/bin/python import time from aptdaemon.client import AptClient c = AptClient() for i in range(100): t = c.commit_packages(["3dchess"], [], [], [], [], exit_handler=lambda x, y: True) t.run(block=False) t = c.commit_packages([], [], ["3dchess"], [], [], exit_handler=lambda x, y: True) t.run(block=False) time.sleep(5) |