changeset 70 | 58043c7bcc51 |
parent 69 | 2a1581de91ea |
child 72 | e52ee17bca47 |
--- a/yml2proc Tue Dec 15 11:30:47 2020 +0100 +++ b/yml2proc Thu Jan 21 01:46:34 2021 +0100 @@ -181,11 +181,11 @@ if options.params: params = eval(options.params) - for key, value in params.iteritems(): + for key, value in params.items(): if type(value) is not str: params[key] = u(value) if options.stringparams: - for key, value in eval(options.stringparams).iteritems(): + for key, value in eval(options.stringparams).items(): params[key] = "'" + u(value) + "'" rresult = transform(doc, **params)