[SCM] pkg-kde-dev-scripts packaging branch, master, updated. 48aebb652c2621bc0394469de55c82f20c40f304
Maximiliano Curia
maxy at moszumanska.debian.org
Wed Aug 17 19:55:54 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/pkg-kde-dev-scripts.git;a=commitdiff;h=48aebb6
The following commit has been merged in the master branch:
commit 48aebb652c2621bc0394469de55c82f20c40f304
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Wed Aug 17 21:55:48 2016 +0200
group_breaks: Handle packages not in cache
---
group_breaks.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/group_breaks.py b/group_breaks.py
index 25e8940..6cccde8 100755
--- a/group_breaks.py
+++ b/group_breaks.py
@@ -98,8 +98,11 @@ def python_apt_rdepends(package, cache):
Only Depends are considered. This function uses the python apt module to
obtain the reverse dependencies.
'''
- full_rdepends = cache[package]._pkg.rev_depends_list
rdepends = set()
+ try:
+ full_rdepends = cache[package]._pkg.rev_depends_list
+ except KeyError:
+ return rdepends
for dep in full_rdepends:
if dep.dep_type in ('Breaks', 'Conflicts', 'Enhances', 'Pre-Depends',
--
pkg-kde-dev-scripts packaging
More information about the pkg-kde-commits
mailing list