title: Python Fabric error
body: <p>I'm running fabric (Django deployment to apache) and everything seems to work fine until I get to the task for installing the site:</p>
  
  <pre><code>def install_site():
      "Add the virtualhost file to apache"
      require('release', provided_by=[deploy, setup])
      sudo('cd %(path)/releases/%(release)/%(release); cp %(project_name)/%(virtualhost_path)/%(project_domain) /etc/apache2/sites-available/%(project_domain)s')
      sudo('cd /etc/apache2/sites-available; a2ensite %(project_domain)') 
  </code></pre>
  
  <p>I keep getting this error:</p>
  
  <pre><code>[173.203.124.16] sudo: cd %(path)/releases/%(release)/%(release);
  [173.203.124.16] err: /bin/bash: -c: line 0: syntax error near unexpected token
  `('
  [173.203.124.16] err: /bin/bash: -c: line 0: `cd %(path)/releases/%(release)/%(r
  elease);'
  
  Warning: sudo() encountered an error (return code 2) while executing 'cd %(path)
  /releases/%(release)/%(release);'
  </code></pre>
  
  <p>I've gone through the fabfile.py over and over and I can't see why the error is coming...any ideas?</p>