strange behavior of the bunch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-tempita (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
>>> import tempita
>>> tmp = tempita.
>>> c = tempita.
>>> c.default = None
>>> body = tmp.substitute(c)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
result, defs, inherit = self._interpret(ns)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
base = func(base)
TypeError: 'NoneType' object is not callable
Using hack:
>>> import tempita
>>> tmp = tempita.
>>> c = tempita.
>>> c.default = None
>>> c.update(
>>> body = tmp.substitute(c)
>>> print(body)
<12> asdasd
description: | updated |
Changed in python-tempita (Ubuntu): | |
status: | New → Opinion |