From 59d9ccf48d84fd1e59f78cb4dcf428e53d1c6911 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 2 Jul 2007 10:06:03 -0400 Subject: 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 --- pactest/pmenv.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pactest') diff --git a/pactest/pmenv.py b/pactest/pmenv.py index bff32e98..3b54afc0 100755 --- a/pactest/pmenv.py +++ b/pactest/pmenv.py @@ -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) -- cgit v1.2.3-70-g09d2