Changes between Initial Version and Version 1 of Ticket #11837, comment 8
- Timestamp:
- Dec 7, 2014, 12:05:11 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11837, comment 8
initial v1 14 14 def sql_sub_vars(self, sql, args): 15 15 }}} 16 17 Another option to implement the indirection would be: 18 {{{#!python 19 defaultval = sub_vars(fullmatch.group(2), report_args) 20 report_args.setdefault(fullmatch.group(1), defaultval) 21 }}}