1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

Reduce delay in pactest when running MODIFIED tests

pactest was sleeping for 3 seconds, which is unnecessary. Reduce it to 1.5
seconds and clean up the code a bit anyway.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-07-02 10:06:03 -04:00
parent 4d9b5d4a2a
commit 59d9ccf48d

View File

@ -68,12 +68,10 @@ class pmenv:
t.generate()
# Hack for mtimes consistency
modified = 0
for i in t.rules:
if i.rule.find("MODIFIED") != -1:
modified = 1
if modified:
time.sleep(3)
time.sleep(1.5)
break
t.run(self.pacman)