[library-web] Extend blacklist to support (module name, module version) tuples
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] Extend blacklist to support (module name, module version) tuples
- Date: Wed, 26 Feb 2020 10:30:30 +0000 (UTC)
commit 8ef92998249f418533f9c85b7130dfdddde83924
Author: Andrea Veri <av gnome org>
Date: Wed Feb 26 10:30:21 2020 +0000
Extend blacklist to support (module name, module version) tuples
src/lgo.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 2ce57cd..f6684ca 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -787,7 +787,9 @@ class Lgo(App):
more_tarball_docs.remove(more_doc)
continue
- if doc and (not doc.modulename or doc.modulename in self.config.blacklist):
+ if doc and (not doc.modulename or
+ doc.modulename in self.config.blacklist or
+ (doc.modulename, doc.one_dot_version) in self.config.blacklist):
logging.debug('skipping because in blacklist')
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]