title: Python NameError: Name 'get_tool_versions' not defined
body: <p>I am trying to run a cmd script which calls a <code>setenv.py</code> file. This file has a function which says, </p>
  
  <pre><code>    import build_cfg
      tool_versions = get_tool_versions()
      env_var_list = get_env_var()
  </code></pre>
  
  <p>which I believe is importing the <code>build_cfg</code> module.
  <code>build_cfg</code> in turn has <code>get_tool_versions</code> and <code>get_env_vars</code> functions defined. </p>
  
  <p>Anyway, when I run my script I get an error : </p>
  
  <pre><code>File "setenv.py", line 172, in &lt;module&gt;
     tool_versions = get_tool_versions ()
  NameError: name 'get_tool_versions' is not defined
  </code></pre>
  
  <p>I am relatively new to python. Could you please tell me what I am doing wrong? </p>