Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'calm/reports.py')
-rw-r--r--calm/reports.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/calm/reports.py b/calm/reports.py
index 3932d78..43b9030 100644
--- a/calm/reports.py
+++ b/calm/reports.py
@@ -65,8 +65,7 @@ def linkify(pn, po):
# produce a report of unmaintained packages
#
def unmaintained(args, packages, reportsdir):
- mlist = maintainers.read(args, None)
- pkg_maintainers = maintainers.invert(mlist)
+ pkg_maintainers = maintainers.pkg_list(args.pkglist)
um_list = []
@@ -78,7 +77,7 @@ def unmaintained(args, packages, reportsdir):
if po.kind != package.Kind.source:
continue
- if 'ORPHANED' not in pkg_maintainers[po.orig_name]:
+ if (po.orig_name not in pkg_maintainers) or (not pkg_maintainers[po.orig_name].is_orphaned()):
continue
# the highest version we have