Here's a patch that fixes it.
=== modified file 'pybars/_compiler.py' --- pybars/_compiler.py 2012-07-30 03:42:07 +0000 +++ pybars/_compiler.py 2012-09-20 18:41:01 +0000 @@ -205,6 +205,8 @@ context = context(this) if context: return options['fn'](this) + else: + return options['inverse'](this)
def _log(this, context):
Here's a patch that fixes it.
=== modified file 'pybars/ _compiler. py' 'inverse' ](this)
--- pybars/_compiler.py 2012-07-30 03:42:07 +0000
+++ pybars/_compiler.py 2012-09-20 18:41:01 +0000
@@ -205,6 +205,8 @@
context = context(this)
if context:
return options['fn'](this)
+ else:
+ return options[
def _log(this, context):