diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-27 13:30:58 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-27 13:30:58 -0600 |
commit | 7801704a780b7e58f3044c866eedf74dd1f6c171 (patch) | |
tree | 8d3f938bcb5adfe9651534d8ef9bf7f72c4e3f69 /devel/management/commands | |
parent | 0fffd3ad6e19f949124d03f6484143ef2459a543 (diff) |
reporead: only reset needsupdate when setting last_update
Otherwise a --force will clear out all our flagged packages. :/ Whoops.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/management/commands')
-rwxr-xr-x | 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 07355829..c61ebab3 100755 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -149,8 +149,8 @@ def populate_pkg(dbpkg, repopkg, timestamp=None): except: pass - dbpkg.needupdate = False if timestamp: + dbpkg.needupdate = False dbpkg.last_update = timestamp dbpkg.save() # files are not in the repo.db.tar.gz |