added nocommentblanklines generator function
nocommentblanklines was missing 'self'