<p>In <a href="https://github.com/opentechinstitute/mlab-observatory/pull/69#discussion_r28604210">environment_bootstrap.py</a>:</p>
<pre style='color:#555'>> @@ -24,6 +24,11 @@
>  
>  def setup_environment(environment_type):
>    link_name = 'static/js/observatory/js/paths.js'
> +
> +  if os.path.exists(link_name):
> +    print 'Warning: Replacing existing file: %s' % link_name
> +    os.remove(link_name)
</pre>
<p>+1 on islink()</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/opentechinstitute/mlab-observatory/pull/69/files#r28604210">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AC7qBDwg_WZoQM_TzkVMQjxSxiWKbBK0ks5oAR7sgaJpZM4ECO9S.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/opentechinstitute/mlab-observatory/pull/69/files#r28604210"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>