diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-03 13:44:27 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-03 13:45:14 -0600 |
commit | 3c10a82d488145f87c8825921baa6f3908ee41a7 (patch) | |
tree | 173bd202145f8683428c6ccf54d1a7c84e0546b4 | |
parent | ecbec2f85296ac6c690186ea2e1de611df4d6f72 (diff) |
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 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 |