changeset 8216 | 99ff746e8de8 |
parent 8190 | 2a3c1b787688 |
parent 8198 | ce9c6ae03c2d |
child 8696 | 0bb18407c053 |
--- a/pylintext.py Fri Feb 10 16:31:39 2012 +0100 +++ b/pylintext.py Fri Feb 10 16:53:52 2012 +0100 @@ -35,7 +35,7 @@ for etype in BASE_TYPES: module.locals[etype] = [scoped_nodes.Class(etype, None)] # add data() to uiprops module - if module.name.endswith('.uiprops'): + if module.name.split('.')[-1] == 'uiprops': fake = ASTNGBuilder(MANAGER).string_build(''' def data(string): return u''