From 3c10a82d488145f87c8825921baa6f3908ee41a7 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 3 Dec 2011 13:44:27 -0600 Subject: reporead: don't update timestamp on --force Signed-off-by: Dan McGee --- devel/management/commands/reporead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel') 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 -- cgit v1.2.3-2-g168b