summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-03 20:44:27 +0100
committerDan McGee <dan@archlinux.org>2011-12-03 20:45:14 +0100
commit3c10a82d488145f87c8825921baa6f3908ee41a7 (patch)
tree173bd202145f8683428c6ccf54d1a7c84e0546b4
parentecbec2f85296ac6c690186ea2e1de611df4d6f72 (diff)
downloadarchweb-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.py2
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