summaryrefslogtreecommitdiff
path: root/paste/util/template.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix pyflakes warningsVictor Stinner2015-04-221-2/+0
| | | | | | * Remove unused variables * Remove unused imports * Remove dead code
* Fix some Python 3 issues in util.templateVictor Stinner2015-04-221-4/+4
|
* Strip trailing spacesVictor Stinner2015-04-211-6/+6
|
* Python 3: fix more submodulesVictor Stinner2014-03-191-4/+4
| | | | | * print syntax * replace "except Exception, exc:" with "except Exception as exc:"
* Python 3: Use six types for stringsCyril Roelandt2014-03-181-8/+8
| | | | | * Replace (str, unicode) with (six.binary_type, six.text_type) * Replace basestring with (six.binary_type, six.text_type)
* Python 3: use six.reraise() to re-raise an exception with the tracebackCyril Roelandt2014-03-181-3/+4
|
* Python 3: use new names of standard library modulesCyril Roelandt2014-03-181-2/+2
| | | | Use "try/except ImportError" to try Python 2 and Python 3 names.
* Make comments workianb2007-06-131-0/+5
|
* Added {{default}} directive to paste.util.templateianb2007-06-131-0/+30
|
* in template: Added a function that can be used with Paste Script; fixed an ↵ianb2007-03-061-1/+9
| | | | issue when you raise Exception()
* Make paste.util.template trim whitespace around statements on their own lineianb2007-03-061-4/+55
|
* Added a command-line form of the template to fill static filesianb2007-02-151-0/+75
|
* make sure missing attribute raise an AttributeError in bunches, not KeyErrorianb2007-02-051-1/+4
|
* Fix up docstrings for reST validityianb2007-02-011-1/+1
|
* Add a bunch object, and add __traceback_hide__ locals to trim down exceptionsianb2007-01-311-1/+40
|
* Added an HTML-specific subclassianb2007-01-311-2/+76
|
* Added a templating languageianb2007-01-311-0/+473