index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-10-26 22:55:31 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-22 11:19:21 -0600 |
commit | 32727efc38bf5376a402c4c4149cc4148ba2068b (patch) | |
tree | ebbe400b78b4431ca197ee9c49541178ac4dc066 /test/pacman/pmrule.py | |
parent | 5699f2c94c39afec19810fc450b78dced86e7c5d (diff) |
-rwxr-xr-x | test/pacman/pmrule.py | 6 |
diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py index c69e3cd3..3ba72fe7 100755 --- a/test/pacman/pmrule.py +++ b/test/pacman/pmrule.py @@ -69,13 +69,8 @@ class pmrule: if not newpkg: success = 0 else: - util.vprint("\tnewpkg.checksum : %s" % newpkg.checksum) - util.vprint("\tnewpkg.mtime : %s" % newpkg.mtime) if case == "EXIST": success = 1 - elif case == "MODIFIED": - if not localdb.ispkgmodified(newpkg): - success = 0 elif case == "VERSION": if value != newpkg.version: success = 0 @@ -121,6 +116,7 @@ class pmrule: if f.name == key: if not f.ismodified(): success = 0 + break elif case == "MODE": if not os.path.isfile(filename): success = 0 |