Skip to content
Permalink
Browse files

Fix detection of python related notes in Sip coverage test

In certain cases test was not correctly detecting "not available in
Python bindings" notes
  • Loading branch information
nyalldawson committed Nov 18, 2015
1 parent 57f5fba commit 2623abc71ca651dcd5e7dc305fb635b7f1eb0c24
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/utilities.py
@@ -576,7 +576,7 @@ def elemIsBindableMember(self, elem):
for p in detailed_sec.getiterator('para'):
for s in p.getiterator('simplesect'):
for ps in s.getiterator('para'):
if 'python' in ps.text.lower():
if ps.text and 'python' in ps.text.lower():
return False
except:
pass

0 comments on commit 2623abc

Please sign in to comment.
You can’t perform that action at this time.