old_contents: 
  from fabric.api import local, settings, abort, run, cd
  from fabric.contrib.console import confirm
  
  def prepare_deploy():
      local("git add -p && git commit")
      local("git push origin master")
  
  def deploy():
      prepare_deploy()
      with cd("~/groomsman"):
          with prefix("workon groomsman"):
              run("git pull origin master")
              run("pip install -r requirements.txt")
              run("uwsgi --reload /tmp/groomsman.pid")
  
new_contents: 
  from fabric.api import local, settings, abort, run, cd
  from fabric.context_managers import prefix
  from fabric.contrib.console import confirm
  
  def prepare_deploy():
      local("git add -p && git commit")
      local("git push origin master")
  
  def deploy():
      prepare_deploy()
      with cd("~/groomsman"):
          with prefix("workon groomsman"):
              run("git pull origin master")
              run("pip install -r requirements.txt")
              run("uwsgi --reload /tmp/groomsman.pid")
  
subject: Update fabfile