diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-03 20:44:27 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-03 20:45:14 +0100 |
commit | 3c10a82d488145f87c8825921baa6f3908ee41a7 (patch) | |
tree | 173bd202145f8683428c6ccf54d1a7c84e0546b4 | |
parent | ecbec2f85296ac6c690186ea2e1de611df4d6f72 (diff) | |
download | archweb-3c10a82d488145f87c8825921baa6f3908ee41a7.tar.gz archweb-3c10a82d488145f87c8825921baa6f3908ee41a7.tar.xz |
reporead: don't update timestamp on --force
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | devel/management/commands/reporead.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index ec008ba..cc536b1 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -373,7 +373,7 @@ def db_update(archname, reponame, pkgs, force=False): # for a non-force, we don't want to do anything at all. if not force and pkg_same_version(pkg, dbpkg): continue - else: + elif not force: timestamp = datetime.utcnow() # The odd select_for_update song and dance here are to ensure |