[elbe-devel] [PATCH v3 09/52] repomanager: add support for Binary: lines in repo._remove()
dion at linutronix.de
dion at linutronix.de
Thu Jun 27 14:44:23 CEST 2019
From: Torben Hohn <torben.hohn at linutronix.de>
allow the code to handle .changes files as expected, by
handling Binary: lines.
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Reviewed-by: Kurt Kanzenbach <kurt at linutronix.de>
---
elbepack/repomanager.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/elbepack/repomanager.py b/elbepack/repomanager.py
index 6a450906..34319bfc 100644
--- a/elbepack/repomanager.py
+++ b/elbepack/repomanager.py
@@ -255,6 +255,10 @@ class RepoBase(object):
self._removesrc(p['Source'], codename)
elif 'Package' in p:
self._removedeb(p['Package'], codename)
+ elif 'Binary' in p:
+ for pp in p['Binary'].split():
+ self._removedeb(pp, codename)
+
def _includedsc(self, path, codename, component):
if self.maxsize:
--
2.11.0
More information about the elbe-devel
mailing list