Skip to content

Commit

Permalink
Fix detection of python related notes in Sip coverage test
Browse files Browse the repository at this point in the history
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 2623abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2623abc

Please sign in to comment.