def getCurrentVersion():
    builderWindow = getBuilderWindow()
    if builderWindow!=None:
        current_view = builderWindow.viewManager.currentWidget()
        if current_view!=None:
            return current_view.controller.current_version
    return -1
Call all extension drivers during PR update.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/utils.py/getCurrentVersion--crossover with--dataset/ETHPy150Open openstack/group-based-policy/gbpservice/neutron/services/grouppolicy/extension_manager.py/ExtensionManager.process_update_policy_rule