summaryrefslogtreecommitdiffstats
path: root/pym/repoman
diff options
context:
space:
mode:
Diffstat (limited to 'pym/repoman')
-rw-r--r--pym/repoman/utilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py
index 8e15de083..9dd5cde35 100644
--- a/pym/repoman/utilities.py
+++ b/pym/repoman/utilities.py
@@ -143,7 +143,7 @@ class UnknownHerdsError(ValueError):
def check_metadata_herds(xml_tree, herd_base):
herd_nodes = xml_tree.findall('herd')
unknown_herds = [name for name in
- (e.text.strip() for e in herd_nodes)
+ (e.text.strip() for e in herd_nodes if e.text is not None)
if not herd_base.known_herd(name)]
if unknown_herds: