I'm getting an error "lambda expects 2 arguments, received 1" when trying to
use abbreviations that
have variables in them with Sergey's new private branch experiments. Replacing
the line with this
seems to have fixed the problem:
return re.sub(r'\$\{([\w\-]+)\}', lambda s: s.group(1) in zen_settings['variables'] and
zen_settings['variables'][s.group(1)] or s, text)
Original issue reported on code.google.com by georgeth...@gmail.com on 3 Jul 2009 at 4:57
Original issue reported on code.google.com by
georgeth...@gmail.com
on 3 Jul 2009 at 4:57