summaryrefslogtreecommitdiff
path: root/devel/management
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-03 13:44:27 -0600
committerDan McGee <dan@archlinux.org>2011-12-03 13:45:14 -0600
commit3c10a82d488145f87c8825921baa6f3908ee41a7 (patch)
tree173bd202145f8683428c6ccf54d1a7c84e0546b4 /devel/management
parentecbec2f85296ac6c690186ea2e1de611df4d6f72 (diff)
reporead: don't update timestamp on --force
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/management')
-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 ec008ba3..cc536b15 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