docs: def get_bundle_versions():
      """
      Used to cache the bundle versions rather than loading them from the bundle versions file every time they're used
      """
      global _cached_versions
      if not bundles_settings.BUNDLES_VERSION_FILE:
          _cached_versions = {}
      if _cached_versions is None:
          locs = {}
          try:
              execfile(bundles_settings.BUNDLES_VERSION_FILE, locs)
              _cached_versions = locs['BUNDLES_VERSIONS']
          except IOError:
              _cached_versions = {}
      return _cached_versions