{"comment":{"created_at":"2011-10-20T17:37:04Z","body":"Dupes #342","updated_at":"2011-10-20T17:37:04Z","url":"https://api.github.com/repos/fabric/fabric/issues/comments/2471752","id":2471752,"user":{"avatar_url":"https://secure.gravatar.com/avatar/f1acc6318028fdba9874c77bc622a2fb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f1acc6318028fdba9874c77bc622a2fb","url":"https://api.github.com/users/bitprophet","id":6088,"login":"bitprophet"}},"action":"created","issue":{"number":454,"created_at":"2011-10-20T10:41:43Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I had errors doing this :\r\n\r\n    with cd('/etc/apache2/sites-available'):\r\n        upload_template('vhost.txt',env.domain, context=vhost_context, use_sudo=True)\r\n\r\nor this :\r\n\r\n    with cd('/etc/apache2/sites-available'):\r\n        upload_template('vhost.txt','./%(domain)s' % env, context=vhost_context, use_sudo=True)  \r\n\r\nthe only sollution was to drop the \"with cd()\" :\r\n\r\n    upload_template('vhost.txt','/etc/apache2/sites-available/%(domain)s' % env, context=vhost_context, use_sudo=True)\r\n","comments":1,"title":"upload_template does not follow \"with cd()\"","updated_at":"2011-10-20T17:37:04Z","url":"https://api.github.com/repos/fabric/fabric/issues/454","id":2003517,"assignee":null,"milestone":null,"closed_at":"2011-10-20T17:37:04Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/c0dd9f3e474c7172c4dd254608d8bc6a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c0dd9f3e474c7172c4dd254608d8bc6a","url":"https://api.github.com/users/quinode","id":145696,"login":"quinode"},"html_url":"https://github.com/fabric/fabric/issues/454","labels":[],"state":"closed"},"legacy":{"issue_id":2003517,"comment_id":2471752}}