def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def poll(cls, context):
        userpref = context.user_preferences
        return (userpref.active_section == 'ADDONS')