code: def parse_variables(config):
      if not config.has_section("variables"):
          raise FormatError("No variables section found !")
  
      d = {}
  
      for name, value in config.items("variables"):
          d[name] = value
  
      return VariableSet(d)
  
imports: from __future__ import division, absolute_import, print_function
  import sys
  import re
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: parse_variables(config) and returns: VariableSet