From 09a3a08144fd14fcd905cdf3e86dcc240458040c Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Sun, 31 Jan 2010 07:53:27 +0200 Subject: Adjust models and views for nullable maintainer Signed-off-by: Evangelos Foutras [Dan: made a few other small touchups] Signed-off-by: Dan McGee --- scripts/reporead.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'scripts/reporead.py') 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) -- cgit v1.2.3-54-g00ecf