Browse Source

renamed in Python 3

some-fixes
Volker Birk 9 months ago
parent
commit
68816f06b5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      yml2proc

+ 2
- 2
yml2proc View File

@ -181,11 +181,11 @@ def main():
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)


Loading…
Cancel
Save