summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-27 20:30:58 +0100
committerDan McGee <dan@archlinux.org>2010-02-27 20:30:58 +0100
commit7801704a780b7e58f3044c866eedf74dd1f6c171 (patch)
tree8d3f938bcb5adfe9651534d8ef9bf7f72c4e3f69 /devel
parent0fffd3ad6e19f949124d03f6484143ef2459a543 (diff)
downloadarchweb-7801704a780b7e58f3044c866eedf74dd1f6c171.tar.gz
archweb-7801704a780b7e58f3044c866eedf74dd1f6c171.tar.xz
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')
-rwxr-xr-xdevel/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 0735582..c61ebab 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