summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvangelos Foutras <foutrelis@gmail.com>2010-01-31 07:53:27 +0200
committerDan McGee <dan@archlinux.org>2010-01-31 13:44:03 -0600
commit09a3a08144fd14fcd905cdf3e86dcc240458040c (patch)
tree72a03516cf3fa888d57cdca5b1fb18717532849f /scripts
parent2c3c6cc2e1dc070395481f92f5499113b9e5a6bf (diff)
Adjust models and views for nullable maintainer
Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> [Dan: made a few other small touchups] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/reporead.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 5d0ff262..c346afa9 100755
--- a/scripts/reporead.py
+++ b/scripts/reporead.py
@@ -236,12 +236,7 @@ def db_update(archname, pkgs):
for p in [x for x in pkgs if x.name in in_sync_not_db]:
logger.info("Adding package %s", p.name)
- ## note: maintainer is being set to orphan for now
- ## maybe later we can add logic to match pkgbuild maintainers
- ## to db maintainer ids
- pkg = Package(
- pkgname = p.name, arch = architecture, repo = repository,
- maintainer_id = 0)
+ pkg = Package(pkgname = p.name, arch = architecture, repo = repository)
populate_pkg(pkg, p, timestamp=now)
# packages in database and not in syncdb (remove from database)