Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming bug #20

Closed
dbrgn opened this issue Sep 18, 2012 · 1 comment
Closed

Renaming bug #20

dbrgn opened this issue Sep 18, 2012 · 1 comment

Comments

@dbrgn
Copy link
Collaborator

dbrgn commented Sep 18, 2012

 149     response = HttpResponse(mimetype='application/pdf')
 150     response['Content-Disposition'] = 'attachment; filename=%s.pdf' % id
 151     response.write(pdf)
 152     
 153     return response

Renaming response on line 153 leads to:

 149     foobear = HttpResponse(mimetype='application/pdf')
 150     response['Content-Disposition'] = 'attachment; filename=%s.pdf' % id
 151     foobear.write(pdf)
 152     
 153     return foobear
@davidhalter
Copy link
Owner

After rewriting the whole goto function (which is now not a hack anymore), this works.

One issue still remains: You cannot rename response on line #149. I'm working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants