We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Copied from: http://code.google.com/p/django-mako/issues/detail?id=3
What steps will reproduce the problem?
import tempfile settings = 'a string'
meth = getattr(settings,'upper',tempfile.mkdtemp())
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Copied from: http://code.google.com/p/django-mako/issues/detail?id=3
What steps will reproduce the problem?
/tmp/tmp*
concept is used in middleware.py too:
import tempfile
settings = 'a string'
fetch the value of attribute 'upper' of instance 'settings',
since a string always has 'upper' attribute( a method ),
it will be returned. but still a temporary directory will be created
meth = getattr(settings,'upper',tempfile.mkdtemp())
ls -ld /tmp/tmp*
What is the expected output? What do you see instead?
directories should be created.
What version of the product are you using? On what operating system?
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: