Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11837, comment 8


Ignore:
Timestamp:
Dec 7, 2014, 12:05:11 PM (5 years ago)
Author:
Peter Suter

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11837, comment 8

    initial v1  
    1414     def sql_sub_vars(self, sql, args):
    1515}}}
     16
     17Another option to implement the indirection would be:
     18{{{#!python
     19defaultval = sub_vars(fullmatch.group(2), report_args)
     20report_args.setdefault(fullmatch.group(1), defaultval)
     21}}}