diff options
author | Dan McGee <dan@archlinux.org> | 2007-07-02 16:06:03 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-02 16:06:03 +0200 |
commit | 59d9ccf48d84fd1e59f78cb4dcf428e53d1c6911 (patch) | |
tree | 160712a8711a03ec45ee3a49d402ee4228b0dd89 | |
parent | 4d9b5d4a2a4cf96de8d6b4afa34a4d3424bf96b4 (diff) | |
download | pacman-59d9ccf48d84fd1e59f78cb4dcf428e53d1c6911.tar.gz pacman-59d9ccf48d84fd1e59f78cb4dcf428e53d1c6911.tar.xz |
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>
-rwxr-xr-x | pactest/pmenv.py | 6 |
1 files changed, 2 insertions, 4 deletions
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) |