def apply_vagrant_workaround():
 if (os.environ.get('USER', None) == 'vagrant'):
  del os.link

def apply_vagrant_workaround ( ) : if ( os . environ . get ( 'USER' , None ) == 'vagrant' ) : del os . link
function which detects if the script is being executed inside vagrant and if it is .